PHP Interface Fenos\Notifynder\Contracts\NotifynderGroupDB

Afficher le fichier Open project: fenos/notifynder Interface Usage Examples

Méthodes publiques

Méthode Description
create ( $name ) : Model | static Create a new group.
delete ( $groupId ) : mixed Delete a group.
find ( $groupId ) : Illuminate\Database\Eloquent\Collection | Model | static Find a group by ID.
findByName ( $name ) : mixed Find a group by name.

Method Details

create() public méthode

Create a new group.
public create ( $name ) : Model | static
$name
Résultat Illuminate\Database\Eloquent\Model | static

delete() public méthode

Delete a group.
public delete ( $groupId ) : mixed
$groupId
Résultat mixed

find() public méthode

Find a group by ID.
public find ( $groupId ) : Illuminate\Database\Eloquent\Collection | Model | static
$groupId
Résultat Illuminate\Database\Eloquent\Collection | Illuminate\Database\Eloquent\Model | static

findByName() public méthode

Find a group by name.
public findByName ( $name ) : mixed
$name
Résultat mixed