/** * @param string $filename * * @throws \livetyping\hermitage\foundation\exceptions\ImageNotFoundException */ protected function makeVersion(string $filename) { $original = Util::original($filename); $command = new MakeImageVersionCommand($original, Util::version($filename)); $this->bus->handle($command); }