PHP Interface Sulu\Bundle\CategoryBundle\Entity\KeywordRepositoryInterface

Inheritance: extends Sulu\Component\Persistence\Repository\RepositoryInterface
Mostra file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
findById ( integer $id ) : Sulu\Bundle\CategoryBundle\Entity\KeywordInterface Returns keyword.
findByKeyword ( string $keyword, string $locale ) : Sulu\Bundle\CategoryBundle\Entity\KeywordInterface Returns keyword.

Method Details

findById() public method

Returns keyword.
public findById ( integer $id ) : Sulu\Bundle\CategoryBundle\Entity\KeywordInterface
$id integer
return Sulu\Bundle\CategoryBundle\Entity\KeywordInterface

findByKeyword() public method

Returns keyword.
public findByKeyword ( string $keyword, string $locale ) : Sulu\Bundle\CategoryBundle\Entity\KeywordInterface
$keyword string
$locale string
return Sulu\Bundle\CategoryBundle\Entity\KeywordInterface