PHP Class Cviebrock\ImageValidator\ImageValidatorServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Afficher le fichier Open project: cviebrock/image-validator

Protected Properties

Свойство Type Description
$defer boolean Indicates if loading of the provider is deferred.
$rules

Méthodes publiques

Méthode Description
boot ( ) : void Bootstrap the application events.
getRules ( ) : array Get the list of new rules being added to the validator.
provides ( ) : array Get the services provided by the provider.
register ( ) : void Register the service provider.

Méthodes protégées

Méthode Description
addNewRules ( ) Add new rules to the validator.
extendValidator ( string $rule ) : void Extend the validator with new rules.

Method Details

addNewRules() protected méthode

Add new rules to the validator.
protected addNewRules ( )

boot() public méthode

Bootstrap the application events.
public boot ( ) : void
Résultat void

extendValidator() protected méthode

Extend the validator with new rules.
protected extendValidator ( string $rule ) : void
$rule string
Résultat void

getRules() public méthode

Get the list of new rules being added to the validator.
public getRules ( ) : array
Résultat array

provides() public méthode

Get the services provided by the provider.
public provides ( ) : array
Résultat array

register() public méthode

Register the service provider.
public register ( ) : void
Résultat void

Property Details

$defer protected_oe property

Indicates if loading of the provider is deferred.
protected bool $defer
Résultat boolean

$rules protected_oe property

protected $rules