Method | Description | |
---|---|---|
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 |
public findByName ( string $name ) : Cartalyst\Sentry\Groups\GroupInterface | ||
$name | string | |
return | Cartalyst\Sentry\Groups\GroupInterface | $group |