bandwidthThrottle\tokenBucket\storage\PredisStorageTest::setUp PHP 메소드

setUp() 보호된 메소드

protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
        if (!getenv("REDIS_URI")) {
            $this->markTestSkipped();
        }
        $this->redis = new Client(getenv("REDIS_URI"));
        $this->storage = new PredisStorage("test", $this->redis);
    }