public function cacheMetadata($enable = null)
    {
        deprecationWarning(
            'CachedCollection::cacheMetadata() is deprecated. ' .
            'Use CachedCollection::setCacheMetadata()/getCacheMetadata() instead.'
        );
        if ($enable !== null) {
            $this->setCacheMetadata($enable);
        }

        return $this->getCacheMetadata();
    }