PHP Interface Sulu\Bundle\TagBundle\Tag\TagRepositoryInterface

Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method 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 method

Searches for all roles.
public findAllTags ( ) : array
return array

findTagById() public method

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

findTagByName() public method

Finds the tag with the given name.
public findTagByName ( string $name ) : mixed
$name string
return mixed