getPropertyByPath() 공개 메소드

Uses the factory to instantiate a Property. Currently Jackalope just loads the containing node and then returns the requested property of the node instance.
public getPropertyByPath ( string $absPath ) : PHPCR\PropertyInterface
$absPath string The absolute path of the property to create.
리턴 PHPCR\PropertyInterface
예제 #1
0
 /**
  * {@inheritDoc}
  *
  * @api
  */
 public function getProperty($absPath)
 {
     try {
         return $this->objectManager->getPropertyByPath($absPath);
     } catch (ItemNotFoundException $e) {
         throw new PathNotFoundException($e->getMessage(), $e->getCode(), $e);
     }
 }