# Class AbstractService

An abstract base class for common code shared between ObjectStore\Service (container) and ObjectStore\CDNService (CDN containers).

  OpenCloud\Common\Base
  OpenCloud\Common\Service\AbstractService implements OpenCloud\Common\Service\ServiceInterface
  OpenCloud\Common\Service\CatalogService
  OpenCloud\ObjectStore\AbstractService

#### Direct known subclasses

OpenCloud\ObjectStore\CDNService, OpenCloud\ObjectStore\Service
Abstract
Namespace: OpenCloud\ObjectStore
Located at OpenCloud/ObjectStore/AbstractService.php

Methods summary
`public Collection` | # `listContainers( array $filter = array() )` List all available containers. If called by a CDN service, it returns CDN-enabled; if called by a regular service, normal containers are returned. List all available containers. If called by a CDN service, it returns CDN-enabled; if called by a regular service, normal containers are returned. #### Parameters $filter `array` $filter #### Returns `Collection`
`public `OpenCloud\ObjectStore\Resource\Account`` | # `getAccount( )` #### Returns ``OpenCloud\ObjectStore\Resource\Account``

Methods inherited from OpenCloud\Common\Service\CatalogService
`__construct(), getBaseUrl(), getExtensions(), getName(), getRegion(), getType(), getUrl(), getUrlType(), limits()`

Methods inherited from OpenCloud\Common\Service\AbstractService
`collection(), getClient(), getCurrentNamespace(), getEndpoint(), getNamespaces(), getResources(), resolveResourceClass(), resource(), resourceList(), setClient(), setEndpoint()`

Methods inherited from OpenCloud\Common\Base
`__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()`

Constants summary
`integer` | `MAX_CONTAINER_NAME_LENGTH` | `256` | #
`integer` | `MAX_OBJECT_NAME_LEN` | `1024` | #
`integer` | `MAX_OBJECT_SIZE` | `5102410241025` | #

Constants inherited from OpenCloud\Common\Service\CatalogService
`DEFAULT_URL_TYPE`

Properties inherited from OpenCloud\Common\Service\CatalogService
`$regionless`

Properties inherited from OpenCloud\Common\Service\AbstractService
`$client, $endpoint, $namespaces, $resources`

Properties inherited from OpenCloud\Common\Base
`$aliases`