Class ModelCollection
Model collection.
Extends the ActiveRecord model collection with the models defined by the modules.
- ICanBoogie\ActiveRecord\ModelCollection
- ICanBoogie\Module\ModelCollection
Methods summary
public
|
#
__construct( ICanBoogie\ActiveRecord\ConnectionCollection $connections,
|
public
boolean
|
#
offsetExists( string $id )
Checks if a model exists by first checking if the module it belongs to is enabled and that it actually defines the model. |
public
ICanBoogie\ActiveRecord\Model
|
Properties summary
protected
|
$modules
|