Nextras\Orm\Entity\Reflection\EntityMetadata::hasProperty PHP Method

hasProperty() public method

public hasProperty ( string $name ) : boolean
$name string
return boolean
    public function hasProperty($name)
    {
        return isset($this->properties[$name]);
    }

Usage Example

Example #1
0
 public function hasValue($name)
 {
     if (!$this->metadata->hasProperty($name)) {
         return FALSE;
     }
     $value = $this->_getValue($this->metadata->getProperty($name), $name, TRUE);
     return isset($value);
 }
All Usage Examples Of Nextras\Orm\Entity\Reflection\EntityMetadata::hasProperty