public function __construct(Request $request) { $this->setupRedirectRoutes(); $this->request = $request; $this->redirector = new $this->redirect_helper_class($this); $this->addRouteToBodyClasses(); // Initialise the IoC container's instance of CrudManager with // the settings from this controller crud()->initialize($this); }
<?php function crud($a, $b = "asdf", $c = "hkjl") { echo $a, $b, $c . "\n"; } crud(9); crud(9, 10); crud(9, 10, 11);