Nextras\Orm\Entity\IEntity::getProperty PHP Метод

getProperty() публичный Метод

Returns property contents.
public getProperty ( string $name ) : mixed | Nextras\Orm\Entity\IPropertyContainer
$name string
Результат mixed | Nextras\Orm\Entity\IPropertyContainer
    public function getProperty($name);

Usage Example

Пример #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