PHP 클래스 Artesaos\Defender\Repositories\Eloquent\EloquentRoleRepository

상속: extends AbstractEloquentRepository, implements Artesaos\Defender\Contracts\Repositories\RoleRepository
파일 보기 프로젝트 열기: artesaos/defender

공개 메소드들

메소드 설명
__construct ( Illuminate\Contracts\Foundation\Application $app, Artesaos\Defender\Contracts\Role $model )
create ( $roleName ) : Artesaos\Defender\Contracts\Role Create a new role with the given name.

메소드 상세

__construct() 공개 메소드

public __construct ( Illuminate\Contracts\Foundation\Application $app, Artesaos\Defender\Contracts\Role $model )
$app Illuminate\Contracts\Foundation\Application
$model Artesaos\Defender\Contracts\Role

create() 공개 메소드

Create a new role with the given name.
public create ( $roleName ) : Artesaos\Defender\Contracts\Role
$roleName
리턴 Artesaos\Defender\Contracts\Role