Networking\InitCmsBundle\Model\ContentRouteInterface::getObjectId PHP Метод

getObjectId() публичный Метод

public getObjectId ( ) : integer
Результат integer
    public function getObjectId();

Usage Example

Пример #1
0
 public function findContentByContentRoute(ContentRouteInterface $contentRoute)
 {
     $repository = $this->objectManager->getRepository($contentRoute->getClassType());
     return $repository->find($contentRoute->getObjectId());
 }