@@ -80,7 +80,7 @@ public function start(
80
80
* @param string|string[] $cmd
81
81
* @return $this
82
82
*/
83
- public function php (string |array $ cmd , string $ alias , ?array $ env = null , ?bool $ persistent = false ): self
83
+ public function php (string |array $ cmd , string $ alias , ?array $ env = null , ?bool $ persistent = false , ? array $ iniSettings = null ): self
84
84
{
85
85
$ cmd = is_array ($ cmd ) ? array_values ($ cmd ) : [$ cmd ];
86
86
@@ -90,6 +90,7 @@ public function php(string|array $cmd, string $alias, ?array $env = null, ?bool
90
90
'cwd ' => base_path (),
91
91
'env ' => $ env ,
92
92
'persistent ' => $ persistent ,
93
+ 'iniSettings ' => $ iniSettings ,
93
94
])->json ();
94
95
95
96
return $ this ->fromRuntimeProcess ($ process );
@@ -99,13 +100,13 @@ public function php(string|array $cmd, string $alias, ?array $env = null, ?bool
99
100
* @param string|string[] $cmd
100
101
* @return $this
101
102
*/
102
- public function artisan (string |array $ cmd , string $ alias , ?array $ env = null , ?bool $ persistent = false ): self
103
+ public function artisan (string |array $ cmd , string $ alias , ?array $ env = null , ?bool $ persistent = false , ? array $ iniSettings = null ): self
103
104
{
104
105
$ cmd = is_array ($ cmd ) ? array_values ($ cmd ) : [$ cmd ];
105
106
106
107
$ cmd = ['artisan ' , ...$ cmd ];
107
108
108
- return $ this ->php ($ cmd , $ alias , env: $ env , persistent: $ persistent );
109
+ return $ this ->php ($ cmd , $ alias , env: $ env , persistent: $ persistent, iniSettings: $ iniSettings );
109
110
}
110
111
111
112
public function stop (?string $ alias = null ): void
0 commit comments