Storm\Drivers\Constant\Helpers\PropertyReflection::GetPublicProperties PHP Метод

GetPublicProperties() закрытый защищенный Метод

final protected GetPublicProperties ( $LateBound = true )
    protected final function GetPublicProperties($LateBound = true)
    {
        $Reflection = new \ReflectionClass($this);
        $Properties = $Reflection->getProperties(\ReflectionProperty::IS_PUBLIC);
        $LateBoundClass = get_class($this);
        foreach ($Properties as $Key => $Property) {
            if ($Property->isStatic() || $Property->getDeclaringClass()->getName() !== $LateBoundClass && $LateBound) {
                unset($Properties[$Key]);
            }
        }
        return $Properties;
    }