D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
dateitor
/
public_html
/
vendor
/
nwidart
/
laravel-modules
/
src
/
Process
/
Filename :
Runner.php
back
Copy
<?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); } }