PHP Interface Sulu\Bundle\RouteBundle\Entity\RouteRepositoryInterface

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

Méthodes publiques

Méthode Description
createNew ( ) : Sulu\Bundle\RouteBundle\Model\RouteInterface Returns new route entity.
find ( integer $id ) : Sulu\Bundle\RouteBundle\Model\RouteInterface Returns route-entity by id.
findByPath ( string $path, string $locale ) : Sulu\Bundle\RouteBundle\Model\RouteInterface Returns route-entity by route.

Method Details

createNew() public méthode

Returns new route entity.
public createNew ( ) : Sulu\Bundle\RouteBundle\Model\RouteInterface
Résultat Sulu\Bundle\RouteBundle\Model\RouteInterface

find() public méthode

Returns route-entity by id.
public find ( integer $id ) : Sulu\Bundle\RouteBundle\Model\RouteInterface
$id integer
Résultat Sulu\Bundle\RouteBundle\Model\RouteInterface

findByPath() public méthode

Returns route-entity by route.
public findByPath ( string $path, string $locale ) : Sulu\Bundle\RouteBundle\Model\RouteInterface
$path string
$locale string
Résultat Sulu\Bundle\RouteBundle\Model\RouteInterface