public function setCacheExpiration($expires) {
        if (!is_string($expires)) {
            throw new InvalidArgumentException('Cache expiration must be a string in `strtotime()` format');
        }

        $this->_config['cacheExpires'] = (string) $expires;

        return $this;
    }
public function setCacheExpiration($expires) {
        if (!is_string($expires)) {
            throw new InvalidArgumentException('Cache expiration must be a string in `strtotime()` format');
        }

        $this->_config['cacheExpires'] = (string) $expires;

        return $this;
    }
public function setCacheExpiration ( $ expires ) { if ( ! is_string ( $ expires ) ) { throw new InvalidArgumentException ( 'Cache expiration must be a string in `strtotime()` format' ) ; } $ this -> _config [ 'cacheExpires' ] = ( string ) $ expires ; return $ this ; }
Set the cache expiration time.

@param string $expires
@return $this
Set the cache expiration time .