In the documentation quick start it makes reference to the following:
use Acampos\Ping\Ping;
use Acampos\Ping\PingCommandBuilder;
// Create an instance of PingCommand
$command = (new PingCommandBuilder('192.168.1.1'));
// Pass the PingCommand instance to Ping and run...
$ping = (new Ping($command))->run();
However, the namespace of Acampos is incorrect, it should instead be Acamposm. I am happy to provide a pull request for this if required.
In the documentation quick start it makes reference to the following:
However, the namespace of
Acampos
is incorrect, it should instead beAcamposm
. I am happy to provide a pull request for this if required.