public function managerGetRealms()
    {
        $theRealms = [];

        foreach ($this->realmManager->getRealms() as $realm) {
            /* @var $realm \Thruway\Realm */
            $theRealms[] = [
                'name' => $realm->getRealmName()
            ];
        }

        return [$theRealms];
    }
public function managerGetRealms()
    {
        $theRealms = [];

        foreach ($this->realmManager->getRealms() as $realm) {
            /* @var $realm \Thruway\Realm */
            $theRealms[] = [
                'name' => $realm->getRealmName()
            ];
        }

        return [$theRealms];
    }
public function managerGetRealms ( ) { $ theRealms = [ ] ; foreach ( $ this -> realmManager -> getRealms ( ) as $ realm ) { /* @var $realm \Thruway\Realm */ $ theRealms [ ] = [ 'name' => $ realm -> getRealmName ( ) ] ; } return [ $ theRealms ] ; }
Get list realms

@return array
Get list realms