private function methodLoader(array $classProperties)
    {
        $result = [];
        foreach ($classProperties as $propertyName => $nullVal) {
            $result[$propertyName] = $this->getPropertyValue($propertyName);
        }

        return $result;
    }
private function methodLoader(array $classProperties)
    {
        $result = [];
        foreach ($classProperties as $propertyName => $nullVal) {
            $result[$propertyName] = $this->getPropertyValue($propertyName);
        }

        return $result;
    }
private function methodLoader ( array $ classProperties ) { $ result = [ ] ; foreach ( $ classProperties as $ propertyName => $ nullVal ) { $ result [ $ propertyName ] = $ this -> getPropertyValue ( $ propertyName ) ; } return $ result ; }
Uses the keys of the array as camelCase methods,
calls them and retrieves the data

@param array $classProperties - where array('hello' => '') calls $this->getHello()

@return array - where we get $return['hello'] = $this->getHello()
Uses the keys of the array as camelCase methods calls them and retrieves the data