ICanBoogie
  • Documentation
  • API Reference
  • Event master
Namespaces
  • ICanBoogie
Classes
  • Event
  • EventCollection
  • EventCollectionProvider
  • EventHook
  • EventHookReflection
  • EventProfiler
  • EventReflection

Class EventReflection

Creates unfired, initialized instance of events.

Namespace: ICanBoogie
Located at EventReflection.php

Methods summary

public static from( string $class ) : ICanBoogie\EventReflection

Returns the ICanBoogie\EventReflection instance associated with the specified event class.

Returns the ICanBoogie\EventReflection instance associated with the specified event class.

Parameters

$class

Returns

ICanBoogie\EventReflection
protected __construct( $class )
public with( array $params ) : ICanBoogie\Event

Makes unfired, initialized event instance.

Makes unfired, initialized event instance.

Parameters

$params

Returns

ICanBoogie\Event
protected assert_no_extraneous( array $params )

Asserts that no extraneous parameter is specified.

Asserts that no extraneous parameter is specified.

Parameters

$params

Throws

BadMethodCallException
when an extraneous parameter is specified.
protected assert_no_missing( array $params )

Asserts that no required parameter is missing.

Asserts that no required parameter is missing.

Parameters

$params

Throws

BadMethodCallException
when a required parameter is missing.
protected assert_no_skipped( array $params )

Asserts that no parameter is skipped.

Asserts that no parameter is skipped.

Parameters

$params

Throws

BadMethodCallException
when a parameter is skipped.
protected make_instance( void ) : ICanBoogie\Event

Makes event instance.

Makes event instance.

Returns

ICanBoogie\Event
protected make_args( array $params ) : array

Makes construct arguments.

Makes construct arguments.

Parameters

$params

Returns

array

Properties summary

protected $class

		
protected $parameters

		
Event master – Check on GitHub – API documentation generated by ApiGen