Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Symfony
Component
Routing
Generator
Dumper
PhpGeneratorDumper
PHP Class Symfony\Component\Routing\Generator\Dumper\PhpGeneratorDumper
Author:
Fabien Potencier (
[email protected]
)
Inheritance:
extends
Symfony\Component\Routing\Generator\Dumper\GeneratorDumper
Show file
Open project: pmjones/php-framework-benchmarks
Class Usage Examples
Public Methods
Method
Description
dump
(
array
$options
= [] ) :
string
Dumps a set of routes to a PHP class.
Protected Methods
Method
Description
addConstructor
( )
addGenerator
( )
endClass
( )
startClass
(
$class
,
$baseClass
)
Method Details
addConstructor()
protected
method
protected
addConstructor
( )
addGenerator()
protected
method
protected
addGenerator
( )
dump()
public
method
Available options: * class: The class name * base_class: The base class name
public
dump
(
array
$options
= [] ) :
string
$options
array
An array of options
return
string
A PHP class representing the generator class
endClass()
protected
method
protected
endClass
( )
startClass()
protected
method
protected
startClass
(
$class
,
$baseClass
)