public function __construct($value, $regex, $routeName = null, $domainAlias = null) { $this->value = $value; $this->regex = $regex; $this->routeName = $routeName; parent::__construct(sprintf('Value %s does not match the regex pattern %s', $value, $regex)); }
public function __construct($domainName) { parent::__construct(sprintf('Domain with name %s does not exist!', $domainName)); }
public function __construct($missingName) { $this->missingName = $missingName; parent::__construct(sprintf('Obligatory data missing %s', $missingName)); }
public function __construct($routeName) { $this->routeName = $routeName; parent::__construct(sprintf('No data provided for URL generation for route %s', $routeName)); }
public function __construct($domainName) { parent::__construct(sprintf('Domain with name %s already exists!', $domainName)); }
public function __construct() { parent::__construct('Parser not set!'); }