src/Zend/Http/UserAgent.php
public function setStorage(Zend_Http_UserAgent_Storage $storage)
    {
        if ($this->_immutable) {

            throw new Zend_Http_UserAgent_Exception(
                'The User-Agent device object has already been retrieved; the storage object is now immutable'
            );
        }

        $this->_storage = $storage;
        return $this;
    }
public function setStorage(Zend_Http_UserAgent_Storage $storage)
    {
        if ($this->_immutable) {

            throw new Zend_Http_UserAgent_Exception(
                'The User-Agent device object has already been retrieved; the storage object is now immutable'
            );
        }

        $this->_storage = $storage;
        return $this;
    }
public function setStorage ( Zend_Http_UserAgent_Storage $ storage ) { if ( $ this -> _immutable ) { throw new Zend_Http_UserAgent_Exception ( 'The User-Agent device object has already been retrieved; the storage object is now immutable' ) ; } $ this -> _storage = $ storage ; return $ this ; }
Sets the persistent storage handler

@param  Zend_Http_UserAgent_Storage $storage
@return Zend_Http_UserAgent
Sets the persistent storage handler