Symfony\Component\Routing\Matcher\Dumper\PhpMatcherDumper::addConstructor PHP Method

addConstructor() protected method

protected addConstructor ( )
    protected function addConstructor()
    {
        return <<<EOF
    /**
     * Constructor.
     */
    public function __construct(array \$context = array(), array \$defaults = array())
    {
        \$this->context = \$context;
        \$this->defaults = \$defaults;
    }

EOF;
    }