public function contentfulSpaceName(string $spaceId): string
    {
        $client = $this->contentful->getClientBySpaceId($spaceId);
        if (!$client instanceof Client) {
            return '';
        }

        return $client->getSpace()->getName();
    }
public function contentfulSpaceName(string $spaceId): string
    {
        $client = $this->contentful->getClientBySpaceId($spaceId);
        if (!$client instanceof Client) {
            return '';
        }

        return $client->getSpace()->getName();
    }
public function contentfulSpaceName ( string $ spaceId ) : string { $ client = $ this -> contentful -> getClientBySpaceId ( $ spaceId ) ; if ( ! $ client instanceof Client ) { return '' ; } return $ client -> getSpace ( ) -> getName ( ) ; }
Returns the Contentful space name.
Returns the Contentful space name .