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

        $emails = [];
        foreach ($this->api->getProjectAccesses($project) as $projectAccess) {
            $account = $this->api->getAccount($projectAccess);
            $emails[] = $account['email'];
        }

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

        $emails = [];
        foreach ($this->api->getProjectAccesses($project) as $projectAccess) {
            $account = $this->api->getAccount($projectAccess);
            $emails[] = $account['email'];
        }

        return $emails;
    }
public function getUserEmails ( ) { $ project = $ this -> getProject ( ) ; if ( ! $ project ) { return [ ] ; } $ emails = [ ] ; foreach ( $ this -> api -> getProjectAccesses ( $ project ) as $ projectAccess ) { $ account = $ this -> api -> getAccount ( $ projectAccess ) ; $ emails [ ] = $ account [ 'email' ] ; } return $ emails ; }
Get a list of user email addresses.

@return string[]
Get a list of user email addresses .