App\Services\Form\User\UserForm::__construct PHP Метод

__construct() публичный Метод

Create a new form service instance.
public __construct ( App\Services\Validation\ValidableInterface $validator, App\Repositories\User\UserInterface $user ) : void
$validator App\Services\Validation\ValidableInterface
$user App\Repositories\User\UserInterface
Результат void
    public function __construct(ValidableInterface $validator, UserInterface $user)
    {
        $this->validator = $validator;
        $this->user = $user;
    }