PHP Class PartKeepr\CategoryBundle\Services\CategoryService

Afficher le fichier Open project: partkeepr/PartKeepr Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( EntityManager $entityManager, $entityClass )
ensureRootNodeExists ( ) Creates the root node for a tree if it doesn't exist.
getEntityClass ( )
getRootNode ( ) : AbstractCategory Returns the root node for a tree.

Method Details

__construct() public méthode

public __construct ( EntityManager $entityManager, $entityClass )
$entityManager Doctrine\ORM\EntityManager

ensureRootNodeExists() public méthode

Creates the root node for a tree if it doesn't exist.

getEntityClass() public méthode

public getEntityClass ( )

getRootNode() public méthode

Returns the root node for a tree.
public getRootNode ( ) : AbstractCategory
Résultat PartKeepr\CategoryBundle\Entity\AbstractCategory