public function MatcherDumper::__construct
public MatcherDumper::__construct(Connection $connection, StateInterface $state, $table = 'router')
Construct the MatcherDumper.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection which will be used to store the route information.
\Drupal\Core\State\StateInterface $state: The state.
string $table: (optional) The table to store the route info in. Defaults to 'router'.
File
- core/lib/Drupal/Core/Routing/MatcherDumper.php, line 57
Class
- MatcherDumper
- Dumps Route information to a database table.
Namespace
Drupal\Core\RoutingCode
public function __construct(Connection $connection, StateInterface $state, $table = 'router') { $this->connection = $connection; $this->state = $state; $this->tableName = $table; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!MatcherDumper.php/function/MatcherDumper::__construct/8.1.x