| 1 | <?php |
||
| 14 | class Binaries extends \hiqdev\yii2\collection\Manager |
||
| 15 | { |
||
| 16 | public $defaultClass = 'hidev\base\BinaryPhp'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Prepares item config. |
||
| 20 | */ |
||
| 21 | public function getItemConfig($name = null, array $config = []) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Prepares and runs with passthru. |
||
| 31 | * @param string $name binary |
||
| 32 | * @param string $args |
||
| 33 | * @return int exit code |
||
| 34 | */ |
||
| 35 | public function passthru($name, $args = []) |
||
| 39 | } |
||
| 40 |