PHP Class Cviebrock\ImageValidator\ImageValidatorServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Datei anzeigen Open project: cviebrock/image-validator

Protected Properties

Property Type Description
$defer boolean Indicates if loading of the provider is deferred.
$rules

Public Methods

Method 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.

Protected Methods

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

Method Details

addNewRules() protected method

Add new rules to the validator.
protected addNewRules ( )

boot() public method

Bootstrap the application events.
public boot ( ) : void
return void

extendValidator() protected method

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

getRules() public method

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

provides() public method

Get the services provided by the provider.
public provides ( ) : array
return array

register() public method

Register the service provider.
public register ( ) : void
return void

Property Details

$defer protected_oe property

Indicates if loading of the provider is deferred.
protected bool $defer
return boolean

$rules protected_oe property

protected $rules