name, $class) === 0) { if($reflection->hasProperty($name)) { $property = $reflection->getProperty($name); if($property->isStatic()) { if(!$property->isPrivate()) { Deprecation::notice('4.0', "Config static $class::\$$name must be marked as private", Deprecation::SCOPE_GLOBAL); return null; } $property->setAccessible(true); return $property->getValue(); } } } } return null; } }