Nextras\Orm\Entity\IEntity::getProperty PHP Method

getProperty() public method

Returns property contents.
public getProperty ( string $name ) : mixed | Nextras\Orm\Entity\IPropertyContainer
$name string
return mixed | Nextras\Orm\Entity\IPropertyContainer
    public function getProperty($name);

Usage Example

Ejemplo n.º 1
0
 protected function updateRelationshipRemove(IEntity $entity)
 {
     if (!$this->metadata->relationship->property) {
         return;
     }
     $this->updatingReverseRelationship = true;
     $entity->getProperty($this->metadata->relationship->property)->setInjectedValue(null);
     $this->updatingReverseRelationship = false;
 }
All Usage Examples Of Nextras\Orm\Entity\IEntity::getProperty