Ejemplo n.º 1
0
 /**
  * get node by slug
  *
  * @param string $slug
  *
  * @return \Erichard\DmsBundle\Entity\DocumentNode[]
  */
 public function getNodeBySlug($slug)
 {
     return $this->registry->findOneBySlugWithChildren($slug);
 }