PHP 인터페이스 Stevemo\Cpanel\Group\Repo\CpanelGroupInterface

파일 보기 프로젝트 열기: stevemo/cpanel 0 사용 예제들

공개 메소드들

메소드 설명
create ( array $attributes ) : Cartalyst\Sentry\Groups\GroupInterface Creates a group.
delete ( $id ) : void Delete a group
findAll ( ) : array Returns all groups.
findById ( integer $id ) : Cartalyst\Sentry\Groups\GroupInterface Find the group by ID.
findByName ( string $name ) : Cartalyst\Sentry\Groups\GroupInterface Find the group by name.
update ( array $attributes ) : boolean Update a group

메소드 상세

create() 공개 메소드

Creates a group.
저자: Steve Montambeault
public create ( array $attributes ) : Cartalyst\Sentry\Groups\GroupInterface
$attributes array
리턴 Cartalyst\Sentry\Groups\GroupInterface

delete() 공개 메소드

Delete a group
저자: Steve Montambeault
public delete ( $id ) : void
$id
리턴 void

findAll() 공개 메소드

Returns all groups.
저자: Steve Montambeault
public findAll ( ) : array
리턴 array $groups

findById() 공개 메소드

Find the group by ID.
저자: Steve Montambeault
public findById ( integer $id ) : Cartalyst\Sentry\Groups\GroupInterface
$id integer
리턴 Cartalyst\Sentry\Groups\GroupInterface $group

findByName() 공개 메소드

Find the group by name.
저자: Steve Montambeault
public findByName ( string $name ) : Cartalyst\Sentry\Groups\GroupInterface
$name string
리턴 Cartalyst\Sentry\Groups\GroupInterface $group

update() 공개 메소드

Update a group
저자: Steve Montambeault
public update ( array $attributes ) : boolean
$attributes array
리턴 boolean