returns the specified property or null if it does not exist

@param   string                  $name  name of property to return
@return  MoufReflectionProperty
486881
public function getProperty($name)
    {
        if (parent::hasProperty($name) == false) {
            return null;
        }
        
        $moufRefProperty = new MoufReflectionProperty($this, $name);
        return $moufRefProperty;
    }
586458
public function getProperty($name)
    {
    	foreach ($this->xmlRoot->property as $property) {
    		if ($property['name'] == $name) {
		        $moufRefProperty = new MoufXmlReflectionProperty($this, $property);
		        return $moufRefProperty;
    		}
    	}
    	return null;
        /*if (parent::hasProperty($name) == false) {
            return null;
        }
        
        $moufRefProperty = new MoufReflectionProperty($this, $name);
        return $moufRefProperty;*/
    }
927581
public function getProperty($name)
    {
        $m = $this->getReflectionClass()->getProperty($name);
        return PropertyInfo::__internal_create($this, $m);
    }
1055242
public function findPropertyRequired(
        string $name
    ) {
        $class = get_class($this);

        return Property::getRequired(
            $this->getProperties(),
            $name,
            "Required property ({$name}) is missing in: {$class}"
        );
    }
1061646
public function get($name)
    {
        if (! $this->has($name)) return null;

        $def = $this->components[$name];

        // already initialized.
        if (! $def instanceof ComponentDefine) {
            return $def;
        }

        // initialize.
        return $def->getInstance();
    }
1150600
public function getProperty($name)
    {
        if (!$this->properties->has($name)) {
            throw InvalidPropertyException::propertyDoesNotExist($name);
        }

        return $this->properties->get($name);
    }
12673
public function getProperty($name): ?Property
    {
        if ($this->hasProperty($name)) {
            return $this->properties[$name];
        }

        return null;
    }
1163225
public function getAttribute($name)
    {
        if (isset($this->attributes[$name])) {
            return $this->attributes[$name] instanceof Binding ? $this->attributes[$name]->getValue() : $this->attributes[$name];
        } else {
            return null;
        }
    }
1159434
public function get($name)
    {
        $name = $this->cleanAttributeName($name);

        return isset($this->props[$name]) ? $this->props[$name] : null;
    }
786578
public function getProperty($name)
    {
        if (!$this->hasProperty($name)) {
            throw new Exception\InvalidArgumentException(
                "Unknown property " . $name . "!"
            );
        }
        return $this->properties[$name];
    }
781440
public function _get($name)
    {
        $object = $this->getObject();
        $property = $this->getReflectionProperty($name);

        $value = $property->getValue($this->getObject());
        if (is_array($value))
		{
		    $property->setValue($object, new \ArrayObject($value));
        }

        return $property->getValue($this->getObject());
    }
1316300
public function get(string $name)
    {
        if (empty($name)) {
            return null;
        }

        if (isset($this->{$name})) {
            return $this->{$name};
        }

        if (isset($this->properties[$name])) {
            return $this->properties[$name];
        }

        return null;
    }
125586
public function getProperty($name)
    {
        if (!isset($this->properties[$name])) {
            return null;
        }

        if (!($this->properties[$name] instanceof self)) {
            $this->properties[$name]['name'] = $name;
            $this->properties[$name] = new static($this->properties[$name], $this->serviceDescription);
            $this->properties[$name]->setParent($this);
        }

        return $this->properties[$name];
    }
717699
private function getProperty($name)
    {
        if (!Property::exists($this->properties, $name)) {
            throw new \Exception();
        }

        return Property::get($this->properties, $name);
    }
507447
private function getAccessibleReflectionProperty($propertyName)
    {
        $property = $this->reflClass->getProperty($propertyName);
        $property->setAccessible(true);

        return $property;
    }
235327
public function get($name)
    {
        $name = '_' . (string)$name;
        return property_exists($this, $name) ? $this->$name : null;
    }
594987
public function getMethod($name)
    {
        if (parent::hasMethod($name) == false) {
            return null;
        }
        
        $moufRefMethod = new MoufReflectionMethod($this, $name);
        return $moufRefMethod;
    }