메소드 |
설명 |
|
addAliases ( ) : string |
Adds the aliases property definition. |
|
addConstructor ( ) : string |
Adds the constructor. |
|
addDefaultParametersMethod ( ) : string |
Adds default parameters method. |
|
addFrozenCompile ( ) : string |
Adds the constructor for a frozen container. |
|
addFrozenConstructor ( ) : string |
Adds the constructor for a frozen container. |
|
addIsFrozenMethod ( ) : string |
Adds the isFrozen method for a frozen container. |
|
addMethodMap ( ) : string |
Adds the methodMap property definition. |
|
addNewInstance ( Definition $definition, $return, $instantiation, $id ) |
|
|
addPrivateServices ( ) : string |
Adds the privates property definition. |
|
addProxyClasses ( ) : string |
Generates code for the proxies to be attached after the container class. |
|
addService ( string $id, Definition $definition ) : string |
Adds a service. |
|
addServiceConfigurator ( string $id, Definition $definition, string $variableName = 'instance' ) : string |
Adds configurator definition. |
|
addServiceInclude ( string $id, Definition $definition ) : string |
Generates the require_once statement for service includes. |
|
addServiceInlinedDefinitions ( string $id, Definition $definition ) : string |
Generates the inline definition of a service. |
|
addServiceInlinedDefinitionsSetup ( string $id, Definition $definition ) : string |
Generates the inline definition setup. |
|
addServiceInstance ( string $id, Definition $definition ) : string |
Generates the service instance. |
|
addServiceLocalTempVariables ( string $cId, string $definition ) : string |
Generates Service local temp variables. |
|
addServiceMethodCalls ( string $id, Definition $definition, string $variableName = 'instance' ) : string |
Adds method calls to a service definition. |
|
addServiceProperties ( $id, Definition $definition, $variableName = 'instance' ) |
|
|
addServiceReturn ( string $id, Definition $definition ) : string |
Adds the service return statement. |
|
addServices ( ) : string |
Adds multiple services. |
|
doExport ( $value ) |
|
|
dumpLiteralClass ( string $class ) : string |
Dumps a string to a literal (aka PHP Code) class value. |
|
dumpParameter ( string $name ) : string |
Dumps a parameter. |
|
dumpValue ( mixed $value, boolean $interpolate = true ) : string |
Dumps values. |
|
endClass ( ) : string |
Ends the class definition. |
|
export ( $value ) |
|
|
exportParameters ( array $parameters, string $path = '', integer $indent = 12 ) : string |
Exports parameters. |
|
exportTargetDirs ( ) |
|
|
generateMethodName ( string $id ) : string |
Convert a service id to a valid PHP method name. |
|
getDefinitionsFromArguments ( array $arguments ) : array |
Gets the definition from arguments. |
|
getExpressionLanguage ( ) |
|
|
getInlinedDefinitions ( Definition $definition ) : array |
Returns the inline definition. |
|
getNextVariableName ( ) : string |
Returns the next name to use. |
|
getProxyDumper ( ) : Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface |
Retrieves the currently set proxy dumper or instantiates one. |
|
getServiceCall ( string $id, Reference $reference = null ) : string |
Gets a service call. |
|
getServiceCallsFromArguments ( array $arguments, array &$calls, array &$behavior ) |
Builds service calls from arguments. |
|
hasReference ( string $id, array $arguments, boolean $deep = false, array &$visited = [] ) : boolean |
Checks if a service id has a reference. |
|
initializeMethodNamesMap ( string $class ) |
Initializes the method names map to avoid conflicts with the Container methods. |
|
isSimpleInstance ( string $id, Definition $definition ) : boolean |
Checks if the definition is a simple instance. |
|
startClass ( string $class, string $baseClass, string $namespace ) : string |
Adds the class headers. |
|
wrapServiceConditionals ( string $value, string $code ) : string |
Wraps the service conditionals. |
|