App\Services\Form\Server\ServerForm::__construct PHP Méthode

__construct() public méthode

Create a new form service instance.
public __construct ( App\Services\Validation\ValidableInterface $validator, App\Repositories\Server\ServerInterface $server ) : void
$validator App\Services\Validation\ValidableInterface
$server App\Repositories\Server\ServerInterface
Résultat void
    public function __construct(ValidableInterface $validator, ServerInterface $server)
    {
        $this->validator = $validator;
        $this->server = $server;
    }