public function __construct(ERIT_TestModel $model)
 {
     parent::__construct($model);
 }
Beispiel #2
0
 public function __construct(UserModel $model, UserValidator $validator)
 {
     parent::__construct($model, $validator);
 }
 public function __construct(ItemModel $model, ItemValidator $validator)
 {
     parent::__construct($model, $validator);
 }
 /**
  * Override the constructor. In PHP, you can override type hints in constructors,
  * but not in normal methods. Weird behaviour but we can use this to our
  * advantage.
  */
 public function __construct(ProjectModel $project, ProjectValidator $validator)
 {
     parent::__construct($project, $validator);
 }
 public function __construct(MyModel $model, MyValidator $validator)
 {
     parent::__construct($model, $validator);
 }