src/Jira/Remote/RemoteObject.php
public function buildObjectArray(array $data, $classname)
    {
        $objects = array();
        foreach ($data as $object) {
          $objects[] = new $classname($object);
        }
        return $objects;
    }
public function buildObjectArray(array $data, $classname)
    {
        $objects = array();
        foreach ($data as $object) {
          $objects[] = new $classname($object);
        }
        return $objects;
    }
public function buildObjectArray ( array $ data , $ classname ) { $ objects = array ( ) ; foreach ( $ data as $ object ) { $ objects [ ] = new $ classname ( $ object ) ; } return $ objects ; }
Helper function that builds an array of objects.

@param array $data
The raw data returned by Request::call().
@param string $classname
The name of the class used to create the objects.

@return array
Returns an array of $classname objects.
Helper function that builds an array of objects .