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;
    }