PHP Class Owl\Repositories\Fluent\UserRoleRepository

Inheritance: extends AbstractFluent, implements Owl\Repositories\UserRoleRepositoryInterface
Afficher le fichier Open project: owl/owl Class Usage Examples

Protected Properties

Свойство Type Description
$table

Méthodes publiques

Méthode Description
getAll ( ) : array Get all user role data.
getByUserId ( integer $userId ) : stdClass Get record by specified user ID.
getTableName ( ) : string Get a table name.

Method Details

getAll() public méthode

Get all user role data.
public getAll ( ) : array
Résultat array

getByUserId() public méthode

Get record by specified user ID.
public getByUserId ( integer $userId ) : stdClass
$userId integer
Résultat stdClass | null

getTableName() public méthode

Get a table name.
public getTableName ( ) : string
Résultat string

Property Details

$table protected_oe property

protected $table