PHP 中 call_user_func call_user_func_array
2022-09-19 13:10:12
$this->app->when('App\Http\Controllers\TestController')
->needs('$numPages')
->give(1000);
class TestController extends Controller
{
public function __construct($numPages = 0)
{
// $numPages = 1000 WORKS
}
}