protected function loadEntities($entityManager) {
		foreach(glob($this->getPath().'/Entity/*.php') as $file) {
			$class = \Asgard\Common\Tools::loadClassFile($file);
			if(is_subclass_of($class, 'Asgard\Entity\Entity'))
				$entityManager->get($class);
		}
	}
protected function loadEntities($entityManager) {
		foreach(glob($this->getPath().'/Entity/*.php') as $file) {
			$class = \Asgard\Common\Tools::loadClassFile($file);
			if(is_subclass_of($class, 'Asgard\Entity\Entity'))
				$entityManager->get($class);
		}
	}
protected function loadEntities ( $ entityManager ) { foreach ( glob ( $ this -> getPath ( ) . '/Entity/*.php' ) as $ file ) { $ class = \ Asgard \ Common \ Tools :: loadClassFile ( $ file ) ; if ( is_subclass_of ( $ class , 'Asgard\Entity\Entity' ) ) $ entityManager -> get ( $ class ) ; } }
Load bundle's entities.
@param  \Asgard\Entity\EntityManagerInterface $entityManager
Load bundle s entities .