public function testComputeKeyUnnormalized() { $directory = str_replace('\\', '/', __DIR__) . '/filesystem/../filesystem'; $adapter = new Local($directory); $this->assertEquals('foobar', $adapter->computeKey($directory . '/foobar')); $this->assertEquals('foo/bar', $adapter->computeKey($directory . '/foo/bar')); }
/** * {@inheritdoc} */ public function computeKey($path) { return base64_decode(parent::computeKey($path)); }