protected function getAllMetadata($managerName = null) {
		if(!$this->allMetadata) {
			$this->allMetadata = $this->registry->getManager($managerName)->getMetadataFactory()->getAllMetadata();
		}
		return $this->allMetadata;
	}
protected function getAllMetadata($managerName = null) {
		if(!$this->allMetadata) {
			$this->allMetadata = $this->registry->getManager($managerName)->getMetadataFactory()->getAllMetadata();
		}
		return $this->allMetadata;
	}
protected function getAllMetadata ( $ managerName = null ) { if ( ! $ this -> allMetadata ) { $ this -> allMetadata = $ this -> registry -> getManager ( $ managerName ) -> getMetadataFactory ( ) -> getAllMetadata ( ) ; } return $ this -> allMetadata ; }
Returns all management class metadata

@return ClassMetadata[]
Returns all management class metadata