src/ReflectableTrait.php
public function get($name)
    {
        $this->checkClassObjAndReflectionProperties();

        list($reflection, $classObj) = $this->getReflectionAndClassObject();

        $property = $reflection->getProperty($name);
        $this->setAccessibleOn($property);

        return $property->getValue($classObj);
    }
public function get($name)
    {
        $this->checkClassObjAndReflectionProperties();

        list($reflection, $classObj) = $this->getReflectionAndClassObject();

        $property = $reflection->getProperty($name);
        $this->setAccessibleOn($property);

        return $property->getValue($classObj);
    }
public function get ( $ name ) { $ this -> checkClassObjAndReflectionProperties ( ) ; list ( $ reflection , $ classObj ) = $ this -> getReflectionAndClassObject ( ) ; $ property = $ reflection -> getProperty ( $ name ) ; $ this -> setAccessibleOn ( $ property ) ; return $ property -> getValue ( $ classObj ) ; }
Get value of public/private/protected properties.

@param $name Property name to be accessed (Case sensitive).

@return mixed
@throws NotFoundException
Get value of public / private / protected properties .