Class Helpers
Patchable helpers of the ActiveRecord package.
Methods summary
public static
__callStatic( string $name
, array $arguments
)
: mixed
Calls the callback of a patchable function.
Calls the callback of a patchable function.
Parameters
$name
- Name of the function.
$arguments
- Arguments.
Returns
mixed
public static
patch( string $name
, callable $callback
)
Patches a patchable function.
Patches a patchable function.
Parameters
$name
- Name of the function.
$callback
- Callback.
Throws
RuntimeException
is attempt to patch an undefined function.
protected static
default_get_model( void )
Magic methods summary
public static
get_model( string $id
)
: ICanBoogie\ActiveRecord\Model
Returns the model with the corresponding identifier.
Returns the model with the corresponding identifier.
Parameters
Returns