PHP Class Owl\Services\UserRoleService

Inheritance: extends Service
Afficher le fichier Open project: owl/owl Class Usage Examples

Protected Properties

Свойство Type Description
$userRoleRepo Owl\Repositories\UserRoleRepositoryInterface

Méthodes publiques

Méthode Description
__construct ( Owl\Repositories\UserRoleRepositoryInterface $userRoleRepo )
getAll ( ) : array Get all data.
isRetire ( integer $userId ) : boolean 指定されたIDのユーザが退会済みかどうかチェック

Method Details

__construct() public méthode

public __construct ( Owl\Repositories\UserRoleRepositoryInterface $userRoleRepo )
$userRoleRepo Owl\Repositories\UserRoleRepositoryInterface

getAll() public méthode

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

isRetire() public méthode

指定されたIDのユーザが退会済みかどうかチェック
public isRetire ( integer $userId ) : boolean
$userId integer
Résultat boolean

Property Details

$userRoleRepo protected_oe property

protected UserRoleRepositoryInterface,Owl\Repositories $userRoleRepo
Résultat Owl\Repositories\UserRoleRepositoryInterface