therselman 7 years ago
parent
commit
aac26377f2
  1. 4
      src/Request.php

4
src/Request.php

@ -289,9 +289,9 @@ class Request
} }
// Dynamic route controller::handler argument builder // Dynamic route controller::handler argument builder
private function _get_args_from_params(array $params) private function (array $params)
{ {
$byType = [ 'container' => &$this->container, $byType = [ 'twister\container' => &$this->container,
'db' => &$this->db, 'db' => &$this->db,
'request' => &$this, 'request' => &$this,
// 'user' => &$this->container->user // 'user' => &$this->container->user

Loading…
Cancel
Save