ValidationServiceProvider::pathsToPublish()

static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. Parameters string $provider string $group Return Value array

ValidationServiceProvider::isDeferred()

bool isDeferred() Determine if the provider is deferred. Return Value bool

ValidationServiceProvider::compiles()

static array compiles() Get a list of files that should be compiled for the package. Return Value array

ValidationServiceProvider::commands()

void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void

ValidationServiceProvider

ValidationServiceProvider class ValidationServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider void register() Register the service provider. static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. from ServiceProvider void commands(array|mixed $commands) Register the package's custom Artisan commands. from ServiceProvider arr

ValidationException::__construct()

void __construct(MessageProvider $provider) Create a new validation exception instance. Parameters MessageProvider $provider Return Value void

ValidationException::__construct()

void __construct(Validator $validator, Response $response = null) Create a new exception instance. Parameters Validator $validator Response $response Return Value void

ValidationException::getResponse()

Response|null getResponse() Get the underlying response instance. Return Value Response|null

ValidationException::getMessageProvider()

MessageProvider getMessageProvider() Get the validation error message provider. Return Value MessageProvider

ValidationException::errors()

MessageBag errors() Get the validation error message provider. Return Value MessageBag