RedisSocketTest.php 570 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /*
  3. * This file is part of the Stash package.
  4. *
  5. * (c) Robert Hafner <tedivm@tedivm.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Stash\Test\Driver;
  11. /**
  12. * @package Stash
  13. * @author Robert Hafner <tedivm@tedivm.com>
  14. */
  15. class RedisSocketTest extends RedisTest
  16. {
  17. protected function getOptions()
  18. {
  19. $socket = '/tmp/redis.sock';
  20. return array('servers' => array(
  21. array('socket' => $socket, 'ttl' => 0.1)
  22. ));
  23. }
  24. }