Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
vendor
/
invoiceshelf
/
modules
/
src
/
Commands
/
stubs
/
scaffold
:
Runner.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?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); } }