public function validateModel($input) { if (empty($input)) { throw new \InvalidArgumentException('You need to enter a model name like »Shopware\\Models\\Article\\Article«'); } return $input; }