Root

Known subclasses

Wtf\Auth, Wtf\Auth\Middleware\RBAC, Wtf\Auth\Repository\LDAP, Wtf\Auth\Repository\User, Wtf\Auth\Storage\Cookie, Wtf\Auth\Storage\JWT, Wtf\Auth\Storage\Session, Wtf\Middleware\Filters, Wtf\ORM\Entity, Wtf\Router
Methods Summary
public
# __construct( Psr\Container\ContainerInterface $container )
public
# __call( string $method = NULL, array $params = array ( ) )
Call method or getter/setter for property.
public
# __get( string $name )
Magic get from container.
public
# get( string $property , mixed $default = NULL )
Get property data, eg get('post_id').
public
# set( string $property , mixed $data = NULL )
Set property data, eg set('post_id',1).
public
# getData( )
Return all entity data as array.
public
# setData( array $data )
Set all data to entity.
Properties Summary
protected Psr\Container\ContainerInterface $container
PSR-11 Container.
# NULL
protected array $data
Storage for magic getter/setter.
# array ( )