Initial Commit
This commit is contained in:
Executable
+27
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace mpba\Modules\Process;
|
||||
|
||||
use mpba\Modules\Contracts\RepositoryInterface;
|
||||
use mpba\Modules\Contracts\RunableInterface;
|
||||
|
||||
class Runner implements RunableInterface
|
||||
{
|
||||
|
||||
protected $module;
|
||||
|
||||
public function __construct(RepositoryInterface $module)
|
||||
{
|
||||
$this->module = $module;
|
||||
}
|
||||
|
||||
/**
|
||||
* Run the given command.
|
||||
*
|
||||
* @param string $command
|
||||
*/
|
||||
public function run($command)
|
||||
{
|
||||
passthru($command);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user