public static function getStaticPropertyValue($class, $name) {
        $property = new \ReflectionProperty($class, $name);
        $property->setAccessible(true);
        return $property->getValue(null);
    }
public static function getStaticPropertyValue($class, $name) {
        $property = new \ReflectionProperty($class, $name);
        $property->setAccessible(true);
        return $property->getValue(null);
    }
public static function getStaticPropertyValue ( $ class , $ name ) { $ property = new \ ReflectionProperty ( $ class , $ name ) ; $ property -> setAccessible ( true ) ; return $ property -> getValue ( null ) ; }
Gets the property value of the static class.
If the property is unavailable, makes it available.

@param mixed $class The class name, that contains the property.
@param string $name The name of the property.

@return mixed
Gets the property value of the static class . If the property is unavailable makes it available .