protected function setMetadata(array $metadata)
    {
        if ($metadata && $this->supportsMetadata()) {
            $this->filesystem->getAdapter()->setMetadata($this->key, $metadata);

            return true;
        }

        return false;
    }
protected function setMetadata(array $metadata)
    {
        if ($metadata && $this->supportsMetadata()) {
            $this->filesystem->getAdapter()->setMetadata($this->key, $metadata);

            return true;
        }

        return false;
    }
protected function setMetadata ( array $ metadata ) { if ( $ metadata && $ this -> supportsMetadata ( ) ) { $ this -> filesystem -> getAdapter ( ) -> setMetadata ( $ this -> key , $ metadata ) ; return true ; } return false ; }
Sets the metadata array to be stored in adapters that can support it.

@param array $metadata

@return bool
Sets the metadata array to be stored in adapters that can support it .