Get a property

Method provides support for computed properties by calling an getProperty[CamelizedName] if it exists. The getter
should return the computed value to get.

@param   string  $name The property name
@return  mixed   The property value.
770517
public function getProperty($name)
    {
        //Handle computed properties
        if(!$this->hasProperty($name) && !empty($name))
        {
            $getter  = 'getProperty'.KStringInflector::camelize($name);
            $methods = $this->getMethods();

            if(isset($methods[$getter])) {
                parent::offsetSet($name, $this->$getter());
            }
        }

        return parent::offsetGet($name);
    }
854362
protected static function getProperty(string $name)
    {
        $prop = (new ReflectionClass(Builder::class))->getProperty($name);

        $prop->setAccessible(true);

        return $prop;
    }
394852
protected function getter($name)
    {
        $value = parent::getter($name);
        $name = $this->getProperty($name);
        if (null == $value) {
            $relMap = EntityDescriptorRegistry::getInstance()
                ->getDescriptorFor(get_class($this))
                ->getRelationsMap();
            if ($relMap->containsKey($name)) {
                $value = $relMap->get($name)->load($this);
            }
        }
        return $value;
    }
166594
public function getClassName($name)
    {
        $name = (string)$name;
        if (array_key_exists($name, $this->propertySets)) {
            return $this->propertySets[$name];
        }

        return null;
    }
498003
public function getValue(string $name)
    {
        // Attempt to get value from the form data.
        $value = $this->data ? $this->data[$name] : null;

        // Return the form data or fall back to the object property.
        return $value ?? $this->getObject()->value($name);
    }
486881
public function getProperty($name)
    {
        if (parent::hasProperty($name) == false) {
            return null;
        }
        
        $moufRefProperty = new MoufReflectionProperty($this, $name);
        return $moufRefProperty;
    }
1152729
public function get($name)
	{
		list($class, $name) = explode('::$', $name, 2);

		$class = new \ReflectionClass($class);
		$property = $class->getProperty($name);
		$property->setAccessible(TRUE);

		return $property->getValue();
	}
831441
protected function getPropertyValue($name)
    {
        if (strpos($name, '.') !== false) {
            return $this->owner->relField($name);
        }
        
        if ($this->owner->hasMethod($name)) {
            return $this->owner->{$name}();
        }
        
        return $this->owner->{$name};
    }
592459
protected Property getProperty(String name) {
    if (!properties.containsKey(name)) {
      properties.put(name, new Property(name));
    }
    return properties.get(name);
  }
955635
function findProperty($name)
    {
        //Get rid of get/set and get the singularized prop name
        $property = Reflection::getProperty($name);

        foreach ($this->properties as $p)
        {
            if ($p->matches($property))
            {
                return $p;
            }
        }

        return null;
    }
230526
public function getPropertyValue(string $name) {
		if (isset($this->values[$name])) {
			return $this->values[$name];
		}
		return null;
	}
714027
public static function get($name)
    {
        if (isset($_REQUEST[$name])) {
            return $_REQUEST[$name];
        }

        if (isset($_GET[$name])) {
            return $_GET[$name];
        }

        return;
    }
992535
public function getProperty($name)
    {
        if (property_exists($this, $name)) {
            return $this->$name;
        }

        return $this->properties[$name];
    }
523588
public function getGet($name = null)
    {
        if ($name !== null) {
            return isset($this->getParams[$name]) ? $this->getParams[$name] : null;
        }

        return $this->getParams;
    }
1010966
public function getProperty($name) {
    $name = ltrim($name, '$');

    $properties = $this
      ->getProperties()
      ->filter(function (ClassMemberNode $property) use ($name) {
        return ltrim($property->getName(), '$') === $name;
      });
    return $properties->isEmpty() ? NULL : $properties[0];
  }
1174560
public function getInjectablePropertyByPublicProperty($name) {
    	$properties = $this->getInjectablePropertiesByPublicProperty();
    	return isset($properties[$name])?$properties[$name]:null;
    }
717699
private function getProperty($name)
    {
        if (!Property::exists($this->properties, $name)) {
            throw new \Exception();
        }

        return Property::get($this->properties, $name);
    }