* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Routing\Loader\Configurator; use Symfony\Component\Routing\RouteCollection; /** * @author Nicolas Grekas
*/ class ImportConfigurator { use Traits\RouteTrait; private $parent; public function __construct(RouteCollection $parent, RouteCollection $route) { $this->parent = $parent; $this->route = $route; } public function __destruct() { $this->parent->addCollection($this->route); } /** * Sets the prefix to add to the path of all child routes. * * @param string $prefix * * @return $this */ final public function prefix($prefix) { $this->route->addPrefix($prefix); return $this; } } __halt_compiler();----SIGNATURE:----NXsvGThUyPAjqtDdwnZZwYRJsJHC9K7LXncaIIZL0ZdaF2OYXQ5EayWavw5jFHDxBg2uDYy3ndDSWoXmkaIEMVBTsg7qt0u05vSS/4RWi/SdKcNTWabBHwtwp8E7jg2gpghbhopYHsLhPbxSf0wPFAGQOSEKkGv72Ey16YdjgiDMZPcpbFoAEEeg5BS7fznYAPtwsxY9hdQUcpCSSbJfe96/EJ59WO+pUNBYtakOlMeYVSqTnai2TPXBfVz5aZCCjrejata581VxH4ujH95uJfAdbkF3VYvcoJVKUFc5ALIVybP5c0bSAHXzG9xS4qVduinI3tHTlz1eaLXbYhR8j0WyNLTWZ9fF9x6AXfYWxLU8ZR4/OKUinVyxxGammjLUQdyFxOJVsrRm/bScvlmcxpsNGeh39wO3p7SmIM5lAib9F59MWI/dxZ0fmZeJ3ZNvz4M0/CDzbUL4Iz0lT+EsgGD+0MIPDTA8jqekQXOF+SVngAmidLr1aDy5sUD97jz+AfrKCv2QZmIoF+58xYivICej4sJkZSE42RSyOL+CXR8H/Kp1/FTlCvVwVnSMTWLkK54yMNrBt2fzRqYoxQbaakUAf+DhJpJnNf9UhnAs3bDep2jjQzZ1i2w/FoYHMTfFD1Sqgoph5lAcTexpxfzQG6iUVimnzG0SWKZfyK0sVA0=----ATTACHMENT:----MjMxMTIyODQyODA0NzI3OSA5MjU3NjA2NTU5Mzc0MTczIDQwODU3ODQ4ODc4OTg0MDE=