src/Providers/CommandRecorder/CommandRecorderRepository.php
public function exists(string $command, array $arguments = []): bool
    {
        return $this->storage->contains(function ($value) use ($command, $arguments) {
            return $value['command'] === $command && $value['arguments'] === $arguments;
        });
    }
public function exists(string $command, array $arguments = []): bool
    {
        return $this->storage->contains(function ($value) use ($command, $arguments) {
            return $value['command'] === $command && $value['arguments'] === $arguments;
        });
    }
public function exists ( string $ command , array $ arguments = [ ] ) : bool { return $ this -> storage -> contains ( function ( $ value ) use ( $ command , $ arguments ) { return $ value [ 'command' ] === $ command && $ value [ 'arguments' ] === $ arguments ; } ) ; }
Determine if the given command exists with the given arguments.

@param string $command
@param array $arguments
Determine if the given command exists with the given arguments .