src/Project.php
public function star($id)
    {
        $id = (int) $id;
        if ($id <= 0) {
            throw new Exception('Invalid param id');
        }
        return $this->rest->put("$this->action/$id/star");
    }
public function star($id)
    {
        $id = (int) $id;
        if ($id <= 0) {
            throw new Exception('Invalid param id');
        }
        return $this->rest->put("$this->action/$id/star");
    }
public function star ( $ id ) { $ id = ( int ) $ id ; if ( $ id <= 0 ) { throw new Exception ( 'Invalid param id' ) ; } return $ this -> rest -> put ( "$this->action/$id/star" ) ; }
Adds a project to your list of favourite projects.

@param int $id

@return bool
@throws \TeamWorkPm\Exception
Adds a project to your list of favourite projects .