src/Asana/Resources/Gen/TasksBase.php
public function projects($task, $params = array(), $options = array())
    {
        $path = sprintf("/tasks/%s/projects", $task);
        return $this->client->getCollection($path, $params, $options);
    }
public function projects($task, $params = array(), $options = array())
    {
        $path = sprintf("/tasks/%s/projects", $task);
        return $this->client->getCollection($path, $params, $options);
    }
public function projects ( $ task , $ params = array ( ) , $ options = array ( ) ) { $ path = sprintf ( "/tasks/%s/projects" , $ task ) ; return $ this -> client -> getCollection ( $ path , $ params , $ options ) ; }
Returns a compact representation of all of the projects the task is in.

@param  task The task to get projects on.
@return response
Returns a compact representation of all of the projects the task is in .