Sulu\Component\Webspace\Manager\WebspaceCollection::getWebspace PHP 메소드

getWebspace() 공개 메소드

Returns the webspace with the given key.
public getWebspace ( $key ) : Webspace
$key string The key of the webspace
리턴 Sulu\Component\Webspace\Webspace
    public function getWebspace($key)
    {
        return array_key_exists($key, $this->webspaces) ? $this->webspaces[$key] : null;
    }