App\Services\Form\Server\ServerForm::__construct PHP 메소드

__construct() 공개 메소드

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
리턴 void
    public function __construct(ValidableInterface $validator, ServerInterface $server)
    {
        $this->validator = $validator;
        $this->server = $server;
    }