芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/apv.mgaplay.com.br/vendor/tedivm/stash/src/Stash/Driver/BlackHole.php
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Stash\Driver; /** * This class provides a NULL caching driver, it always takes values, but never saves them * Can be used as an default save driver * * @author Benjamin Zikarsky
*/ class BlackHole extends AbstractDriver { /** * {@inheritdoc} */ public function clear($key = null) { return true; } /** * {@inheritdoc} */ public function getData($key) { return false; } /** * {@inheritdoc} */ public function purge() { return true; } /** * {@inheritdoc} */ public function storeData($key, $data, $expiration) { return true; } }