PHP Class App\Services\Form\Deployment\DeploymentForm

Afficher le fichier Open project: ngmy/webloyer Class Usage Examples

Protected Properties

Свойство Type Description
$deployCommander
$project
$validator

Méthodes publiques

Méthode Description
__construct ( App\Services\Validation\ValidableInterface $validator, App\Repositories\Project\ProjectInterface $project, App\Services\Deployment\DeployCommanderInterface $deployCommander ) : void Create a new form service instance.
errors ( ) : array Return validation errors.
save ( array $input ) : boolean Create a new deployment.

Méthodes protégées

Méthode Description
valid ( array $input ) : boolean Test whether form validator passes.

Method Details

__construct() public méthode

Create a new form service instance.
public __construct ( App\Services\Validation\ValidableInterface $validator, App\Repositories\Project\ProjectInterface $project, App\Services\Deployment\DeployCommanderInterface $deployCommander ) : void
$validator App\Services\Validation\ValidableInterface
$project App\Repositories\Project\ProjectInterface
$deployCommander App\Services\Deployment\DeployCommanderInterface
Résultat void

errors() public méthode

Return validation errors.
public errors ( ) : array
Résultat array

save() public méthode

Create a new deployment.
public save ( array $input ) : boolean
$input array Data to create a deployment
Résultat boolean

valid() protected méthode

Test whether form validator passes.
protected valid ( array $input ) : boolean
$input array
Résultat boolean

Property Details

$deployCommander protected_oe property

protected $deployCommander

$project protected_oe property

protected $project

$validator protected_oe property

protected $validator