PHP Class Owl\Services\UserRoleService

Inheritance: extends Service
Exibir arquivo Open project: owl/owl Class Usage Examples

Protected Properties

Property Type Description
$userRoleRepo Owl\Repositories\UserRoleRepositoryInterface

Public Methods

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

Method Details

__construct() public method

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

getAll() public method

Get all data.
public getAll ( ) : array
return array

isRetire() public method

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

Property Details

$userRoleRepo protected_oe property

protected UserRoleRepositoryInterface,Owl\Repositories $userRoleRepo
return Owl\Repositories\UserRoleRepositoryInterface