public function apply($value)
    {
        return htmlspecialchars((string) $value, $this->quoteStyle, $this->charset, $this->doubleEncode);
    }
public function apply($value)
    {
        return htmlspecialchars((string) $value, $this->quoteStyle, $this->charset, $this->doubleEncode);
    }
public function apply ( $ value ) { return htmlspecialchars ( ( string ) $ value , $ this -> quoteStyle , $ this -> charset , $ this -> doubleEncode ) ; }
Converts special characters to HTML entities

@param mixed $value
@return boolean
Converts special characters to HTML entities