@@ -80,7 +80,7 @@ public function start(
8080 * @param string|string[] $cmd
8181 * @return $this
8282 */
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
8484 {
8585 $ cmd = is_array ($ cmd ) ? array_values ($ cmd ) : [$ cmd ];
8686
@@ -90,6 +90,7 @@ public function php(string|array $cmd, string $alias, ?array $env = null, ?bool
9090 'cwd ' => base_path (),
9191 'env ' => $ env ,
9292 'persistent ' => $ persistent ,
93+ 'iniSettings ' => $ iniSettings ,
9394 ])->json ();
9495
9596 return $ this ->fromRuntimeProcess ($ process );
@@ -99,13 +100,13 @@ public function php(string|array $cmd, string $alias, ?array $env = null, ?bool
99100 * @param string|string[] $cmd
100101 * @return $this
101102 */
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
103104 {
104105 $ cmd = is_array ($ cmd ) ? array_values ($ cmd ) : [$ cmd ];
105106
106107 $ cmd = ['artisan ' , ...$ cmd ];
107108
108- return $ this ->php ($ cmd , $ alias , env: $ env , persistent: $ persistent );
109+ return $ this ->php ($ cmd , $ alias , env: $ env , persistent: $ persistent, iniSettings: $ iniSettings );
109110 }
110111
111112 public function stop (?string $ alias = null ): void
0 commit comments