src/Rocketeer/Services/Roles/RolesManager.php
public function getConnectionRoles($connection = null, $server = null)
    {
        $credentials = $this->credentials->getServerCredentials($connection, $server);

        return Arr::get($credentials, 'roles', []);
    }
public function getConnectionRoles($connection = null, $server = null)
    {
        $credentials = $this->credentials->getServerCredentials($connection, $server);

        return Arr::get($credentials, 'roles', []);
    }
public function getConnectionRoles ( $ connection = null , $ server = null ) { $ credentials = $ this -> credentials -> getServerCredentials ( $ connection , $ server ) ; return Arr :: get ( $ credentials , 'roles' , [ ] ) ; }
Get the roles of a server.

@param string|null $connection
@param int|null    $server

@return array
Get the roles of a server .