/** * Get the resource representation. * * This is the subject of the RDF triple represented by this value. * * @return Entity\AbstractResourceEntityRepresentation */ public function resource() { $resource = $this->value->getResource(); return $this->getAdapter($resource->getResourceName())->getRepresentation($resource); }
/** * {@inheritDoc} */ public function getResource() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getResource', array()); return parent::getResource(); }