public function __construct(Webspace $webspace, $customUrl) { parent::__construct('The custom-url "' . $customUrl . '" for "' . $webspace->getKey() . '" has no placeholder'); $this->customUrl = $customUrl; $this->webspace = $webspace; }