public __construct ( string $sniffClassName, string $propertyName, Exception $previous = null ) | ||
$sniffClassName | string | |
$propertyName | string | |
$previous | Exception |
public function __construct($sniffClassName, $propertyName, \Exception $previous = null)
{
parent::__construct(sprintf('Sniff %s requires an array of keywords set in property %s', $sniffClassName, $propertyName), 0, $previous);
$this->sniffClassName = $sniffClassName;
$this->propertyName = $propertyName;
}