PHP Class Intervention\Validation\ValidationServiceProviderLaravel5

Inheritance: extends Illuminate\Support\ServiceProvider
Show file Open project: intervention/validation

Public Methods

Method Description
boot ( ) : void Bootstrap the application events.
register ( ) : void Register the service provider.

Private Methods

Method Description
getErrorMessage ( $translator, $messages, string $key ) : string Return the matching error message for the key
getTranslationKeyFromMethodName ( string $name ) : string Return translation key for correspondent method name

Method Details

boot() public method

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

register() public method

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