public function fetchProjects()
    {
        $response = $this->getResponse('get', 'v2/projects');
        $projects = array();
        if(is_array($response)) {
            foreach($response as $data) {
                $projects[] = $this->hydrator->hydrate(new Project(), $data);
            }
        }

        return $projects;
    }
public function fetchProjects()
    {
        $response = $this->getResponse('get', 'v2/projects');
        $projects = array();
        if(is_array($response)) {
            foreach($response as $data) {
                $projects[] = $this->hydrator->hydrate(new Project(), $data);
            }
        }

        return $projects;
    }
public function fetchProjects ( ) { $ response = $ this -> getResponse ( 'get' , 'v2/projects' ) ; $ projects = array ( ) ; if ( is_array ( $ response ) ) { foreach ( $ response as $ data ) { $ projects [ ] = $ this -> hydrator -> hydrate ( new Project ( ) , $ data ) ; } } return $ projects ; }
Fetch data from Projects

@return array
Fetch data from Projects