ICanBoogie
  • Documentation
  • API Reference
  • Operation 4.0.x
Namespaces
  • ICanBoogie
    • Operation
Classes
  • BeforeControlEvent
  • BeforeProcessEvent
  • BeforeValidateEvent
  • ControlEvent
  • FailureEvent
  • GetFormEvent
  • Hooks
  • OperationRouteDefinition
  • OperationRouteDispatcher
  • ProcessEvent
  • RescueEvent
  • Response
  • ValidateEvent
Interfaces
  • Exception
Traits
  • ControlEventTrait
  • ValidateEventTrait
Exceptions
  • Failure
  • FormHasExpired
  • FormNotFound

Class BeforeProcessEvent

Event class for the ICanBoogie\Operation::process:before event.

Third parties may use this event to alter the request, response or errors.

ICanBoogie\Event
┗ ICanBoogie\Operation\BeforeProcessEvent
Namespace: ICanBoogie\Operation
Located at Operation/BeforeProcessEvent.php

Methods summary

public __construct( ICanBoogie\Operation $target, array $payload )

The event is constructed with the type process:before.

The event is constructed with the type process:before.

Parameters

$target
$payload

Constants summary

TYPE : string
'process:before'

Properties summary

public $request : ICanBoogie\HTTP\Request

The request that triggered the operation.

The request that triggered the operation.


		
public $response : ICanBoogie\HTTP\Response

The response of the operation.

The response of the operation.


		
public $errors : ICanBoogie\ErrorCollection

The errors collector.

The errors collector.


		
Operation 4.0.x – Check on GitHub – API documentation generated by ApiGen