public function __construct($optionName) { parent::__construct(sprintf('The format of the option "%s" is invalid', $optionName)); }