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