Networking\InitCmsBundle\Model\ContentRouteInterface::getObjectId PHP Method

getObjectId() public method

public getObjectId ( ) : integer
return integer
    public function getObjectId();

Usage Example

コード例 #1
0
 public function findContentByContentRoute(ContentRouteInterface $contentRoute)
 {
     $repository = $this->objectManager->getRepository($contentRoute->getClassType());
     return $repository->find($contentRoute->getObjectId());
 }