public function getEnvironments()
    {
        $project = $this->getProject();
        if (!$project) {
            return [];
        }

        return array_keys($this->api->getEnvironments($project, false, false));
    }
public function getEnvironments()
    {
        $project = $this->getProject();
        if (!$project) {
            return [];
        }

        return array_keys($this->api->getEnvironments($project, false, false));
    }
public function getEnvironments ( ) { $ project = $ this -> getProject ( ) ; if ( ! $ project ) { return [ ] ; } return array_keys ( $ this -> api -> getEnvironments ( $ project , false , false ) ) ; }
Get a list of environment IDs.

@return string[]
Get a list of environment IDs .