| 1 | <?php |
||
| 14 | class BinariesController extends CommonController |
||
| 15 | { |
||
| 16 | use \hiqdev\yii2\collection\ManagerTrait; |
||
| 17 | |||
| 18 | protected $_before = ['start']; |
||
| 19 | |||
| 20 | public $defaultClass = 'hidev\base\BinaryPhp'; |
||
| 21 | |||
| 22 | public function actionMake() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Prepares item config. |
||
| 36 | */ |
||
| 37 | public function getItemConfig($name = null, array $config = []) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Prepares and runs with passthru. |
||
| 47 | * @param string $name binary |
||
| 48 | * @param string $args |
||
| 49 | * @return int exit code |
||
| 50 | */ |
||
| 51 | public function passthru($name, $args = []) |
||
| 55 | } |
||
| 56 |