Property | Type | Description | |
---|---|---|---|
$_subject | Crud\Event\Subject | Reference to the final CRUD event subject after full event cycle |
Method | Description | |
---|---|---|
_subscribeToEvents ( |
Subscribe to Crud.beforeRender and Crud.beforeRedirect events | |
assertEvents ( array $expected, array | null $actual = null ) : void | Assert these CRUD events was emitted during the life cycle | |
getModel ( string $class, mixed $methods, string $alias, string $table ) : |
Get a "model" (Table) instance |
public _subscribeToEvents ( |
||
$controller | Controller | |
return | void |