Bomifier.php
public function add($encoding = 'UTF-8')
    {
        $str = file_get_contents($this->uri);
        return file_put_contents($this->uri, $this->getBom($encoding) . $str);
    }
public function add($encoding = 'UTF-8')
    {
        $str = file_get_contents($this->uri);
        return file_put_contents($this->uri, $this->getBom($encoding) . $str);
    }
Add a BOM at the beginning of the file.
@param string $encoding
@return int