protected function extractDtoProperties($class)
    {
        $properties = [];
        $reflector = new \ReflectionClass($class);
        if ($reflector->isSubclassOf(self::DTO_INTERFACE)) {
            $properties = array_merge($properties, InjectorHelper::extractVariables($reflector));
        }

        return $properties;
    }
protected function extractDtoProperties($class)
    {
        $properties = [];
        $reflector = new \ReflectionClass($class);
        if ($reflector->isSubclassOf(self::DTO_INTERFACE)) {
            $properties = array_merge($properties, InjectorHelper::extractVariables($reflector));
        }

        return $properties;
    }
protected function extractDtoProperties ( $ class ) { $ properties = [ ] ; $ reflector = new \ ReflectionClass ( $ class ) ; if ( $ reflector -> isSubclassOf ( self :: DTO_INTERFACE ) ) { $ properties = array_merge ( $ properties , InjectorHelper :: extractVariables ( $ reflector ) ) ; } return $ properties ; }
Extract all the properties from Dto class

@param string $class

@return array
Extract all the properties from Dto class