public function __construct(Model $model) { parent::__construct('The given transformer does not exist for model [' . get_class($model) . '].'); }