App\Services\Form\Server\ServerForm::__construct PHP Method

__construct() public method

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