private function methodLoader($methods)
    {
        foreach ($methods as $key => $param) {
            if (is_array($param)) {
                $methods[$key] = $this->methodLoader($this->getExportParams($key));
                continue;
            }
            $method = 'get' . SimpleDataObjectConverter::snakeCaseToUpperCamelCase($param);

            if (method_exists($this, $method)) {
                $methods[$param] = $this->{$method}();
                unset($methods[$key]);
            }
        }

        return $methods;
    }
private function methodLoader($methods)
    {
        foreach ($methods as $key => $param) {
            if (is_array($param)) {
                $methods[$key] = $this->methodLoader($this->getExportParams($key));
                continue;
            }
            $method = 'get' . SimpleDataObjectConverter::snakeCaseToUpperCamelCase($param);

            if (method_exists($this, $method)) {
                $methods[$param] = $this->{$method}();
                unset($methods[$key]);
            }
        }

        return $methods;
    }
private function methodLoader ( $ methods ) { foreach ( $ methods as $ key => $ param ) { if ( is_array ( $ param ) ) { $ methods [ $ key ] = $ this -> methodLoader ( $ this -> getExportParams ( $ key ) ) ; continue ; } $ method = 'get' . SimpleDataObjectConverter :: snakeCaseToUpperCamelCase ( $ param ) ; if ( method_exists ( $ this , $ method ) ) { $ methods [ $ param ] = $ this -> { $ method } ( ) ; unset ( $ methods [ $ key ] ) ; } } return $ methods ; }
Traverses method array and calls the
functions of this class

@param array $methods - array(snake_case)

@return array
Traverses method array and calls the functions of this class