* @copyright Meritoo.pl */ class InvalidHtmlAttributesException extends \Exception { /** * Class constructor * * @param string $htmlAttributes Invalid html attributes */ public function __construct($htmlAttributes) { $message = sprintf('HTML attributes \'%s\' are invalid. Is there everything ok?', $htmlAttributes); parent::__construct($message); } }