File "Runner.php"
Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/invoiceshelf/modules/src/Commands/stubs/scaffold/Runner.php
File size: 552 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Nwidart\Modules\Process;
use Nwidart\Modules\Contracts\RepositoryInterface;
use Nwidart\Modules\Contracts\RunableInterface;
class Runner implements RunableInterface
{
/**
* The module instance.
* @var RepositoryInterface
*/
protected $module;
public function __construct(RepositoryInterface $module)
{
$this->module = $module;
}
/**
* Run the given command.
*
* @param string $command
*/
public function run($command)
{
passthru($command);
}
}