public function createMirror($baseUrl, $directory, EventDispatcherInterface $dispatcher = NULL)
    {
        return new ResourceMirror(isset($dispatcher) ? $dispatcher : $this->dispatcher, $baseUrl, $directory);
    }