public function listContainers($include_properties = false)
    {
        $this->checkConnection();

        if (!empty($this->container)) {
            return $this->listResource($include_properties);
        }

        /** @noinspection PhpUndefinedMethodInspection */
        $buckets = $this->blobConn->listBuckets()->get('Buckets');

        $out = [];
        foreach ($buckets as $bucket) {
            $name = rtrim($bucket['Name']);
            $out[] = ['name' => $name, 'path' => $name];
        }

        return $out;
    }
public function listContainers($include_properties = false)
    {
        $this->checkConnection();

        if (!empty($this->container)) {
            return $this->listResource($include_properties);
        }

        /** @noinspection PhpUndefinedMethodInspection */
        $buckets = $this->blobConn->listBuckets()->get('Buckets');

        $out = [];
        foreach ($buckets as $bucket) {
            $name = rtrim($bucket['Name']);
            $out[] = ['name' => $name, 'path' => $name];
        }

        return $out;
    }
public function listContainers ( $ include_properties = false ) { $ this -> checkConnection ( ) ; if ( ! empty ( $ this -> container ) ) { return $ this -> listResource ( $ include_properties ) ; } /** @noinspection PhpUndefinedMethodInspection */ $ buckets = $ this -> blobConn -> listBuckets ( ) -> get ( 'Buckets' ) ; $ out = [ ] ; foreach ( $ buckets as $ bucket ) { $ name = rtrim ( $ bucket [ 'Name' ] ) ; $ out [ ] = [ 'name' => $ name , 'path' => $ name ] ; } return $ out ; }
List all containers, just names if noted

@param bool $include_properties If true, additional properties are retrieved

@throws \Exception
@return array
List all containers just names if noted