PHP Interface Sulu\Bundle\TagBundle\Tag\TagRepositoryInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
findAllTags ( ) : array Searches for all roles.
findTagById ( integer $id ) : Tag Finds the tag with the given ID.
findTagByName ( string $name ) : mixed Finds the tag with the given name.

Method Details

findAllTags() public méthode

Searches for all roles.
public findAllTags ( ) : array
Résultat array

findTagById() public méthode

Finds the tag with the given ID.
public findTagById ( integer $id ) : Tag
$id integer
Résultat Sulu\Bundle\TagBundle\Entity\Tag

findTagByName() public méthode

Finds the tag with the given name.
public findTagByName ( string $name ) : mixed
$name string
Résultat mixed