Methods summary
public
|
#
__construct( Interop\Container\ContainerInterface $container, array $options = [] )
|
public
Illuminate\Database\ConnectionInterface
|
#
db( null|string $connectionName = null )
Return connection
Parameters
Returns
Illuminate\Database\ConnectionInterface
|
public
array
|
#
implementedEvents( )
Return a list of all events that will fire in the model during its lifecycle
Return a list of all events that will fire in the model during its lifecycle
Returns
array
|
public
|
#
initialize( )
Model callback invoked just after model construction
Model callback invoked just after model construction
|
public
string
|
#
objectKey( )
Return model key (for caching purposes)
Return model key (for caching purposes)
Returns
string
|
public
momentphp\Model |momentphp\Registry
|
#
__get( string $name )
Return model
Parameters
Returns
|