Property getter.

@param string $name

@return mixed property value
170470
public function get(string $name)
    {
        if (!isset($this->_data[$name])) {
            return null;
        }

        return $this->_data[$name];
    }
672621
public function getProperty(string $name) : FinalizedPropertyDefinition
    {
        if (!isset($this->properties[$name])) {
            throw Exception\InvalidArgumentException::format(
                    'Invalid property name for class %s: expecting one of (%s), %s given',
                    $this->className, Debug::formatValues(array_keys($this->properties)), var_export($name, true)
            );
        }

        return $this->properties[$name];
    }
1089196
public function getProperty($name, $property)
    {
        $result = null;
        if($this->has($name))
        {
            if(isset($this->_data[$name]->$property)) {
                $result = $this->_data[$name]->$property;
            }
        }

        return $result;
    }
1359784
public function get($name)
    {
        if (array_key_exists($name, $this->properties)) {
            return $this->properties[$name];
        } elseif (array_key_exists($name, $this->dynamic)) {
            return $this->dynamic[$name]();
        } else {
            return;
        }
    }
581510
public function getProperty($name, $profile = null)
    {
        $iri = IriFactory::create(
            (($profile === null) || is_object($name)) ?
                $name :
                (object)[
                    'profile' => $profile,
                    'name'    => $name
                ]
        );

        return $this->properties->offsetGet($iri);
    }
706952
public function getProperty($name)
    {
        foreach ($this->getChildProperties() as $property) {
            if ($property->getName() === $name) {
                return $property;
            }
        }

        return;
    }
48417
public function getProperty($name)
    {
        return isset($this->visitInfo[$name]) ? $this->visitInfo[$name] : null;
    }
1160016
public function getMoufProperty($name) {
    	$moufProperties = $this->getMoufProperties();
    	if (isset($moufProperties[$name])) {
    		return $moufProperties[$name];
    	} else {
    		return null;
    	}
    	
    }
814089
public function getSetterProperty($name) {
		if (!isset($this->setterProperties[$name])) {
			
			$classDescriptor = $this->getClassDescriptor();
			$methodProperties = $classDescriptor->getInjectablePropertiesBySetter();
			if (isset($methodProperties[$name])) {
				$this->setterProperties[$name] = new MoufInstancePropertyDescriptor($this->moufManager, $this, $this->getClassDescriptor()->getInjectablePropertyBySetter($name));
			} else {
				$found = false;
				foreach ($methodProperties as $methodProperty) {
					if ($methodProperty->getName() == $name) {
						$this->setterProperties[$name] = new MoufInstancePropertyDescriptor($this->moufManager, $this, $this->getClassDescriptor()->getInjectablePropertyBySetter($methodProperty->getMethodName()));
						$found = true;
						break;
					}
				}
				if (!$found) {
					// This must be an orphan
					$this->setterProperties[$name] = new MoufInstancePropertyDescriptor($this->moufManager, $this, null, "setter", $name);
				}
			}
		}
		return $this->setterProperties[$name];
	}
356119
public function get(string $name)
    {
        if ($this->has($name)) {
            return $this->values[$name];
        } else {
            return $this->throwNotFound($name);
        }
    }
253732
public function getProperty($object, $name)
    {
        if ($object instanceof \Nette\Database\Table\IRow && \Nette\Utils\Strings::contains($name, '.')) {
            $parts = explode('.', $name);
            foreach ($parts as $item) {
                if (is_object($object)) {
                    $object = $object->$item;
                }
            }

            return $object;
        }

        if (is_array($object)) {
            $name = "[$name]";
        }

        return $this->getPropertyAccessor()->getValue($object, $name);
    }
932395
protected function getTokenValue($name)
    {
        $method = "get{$name}";
        
        if ($this->hasMethod($method)) {
            return $this->{$method}();
        }
        
        return $this->$name;
    }
1294494
protected function getProperty($object, $name)
    {
        $class = new \ReflectionClass($object);
        while (!$class->hasProperty($name)) {
            $class = $class->getParentClass();
        }
        return $class->getProperty($name);
    }
1358089
public function &__get($name)
	{
		if(in_array($name, ['container', 'arguments'])){
			$method = 'get' . ucfirst($name);
			trigger_error("Property '$name' is deprecated, use method $method() instead.", E_USER_WARNING);
			$var = $this->$method();
			return $var;
		}
		trigger_error(E_USER_WARNING, "Property '$name' is not defined.");
	}
1141060
public function get($name) {

		if ( array_key_exists( $name, $this->_properties )) {
			return $this->_properties[$name];

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

		return null;
	}
1150600
public function getProperty($name)
    {
        if (!$this->properties->has($name)) {
            throw InvalidPropertyException::propertyDoesNotExist($name);
        }

        return $this->properties->get($name);
    }
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];
    }