BundleWriterInterface

interface BundleWriterInterface Writes resource bundle files. Methods write(string $path, string $locale, mixed $data) Writes data to a resource bundle. Details write(string $path, string $locale, mixed $data) Writes data to a resource bundle. Parameters string $path The path to the resource bundle string $locale The locale to (over-)write mixed $data The data to write

Bundle\DebugBundle

Namespaces Symfony\Bundle\DebugBundle\DependencyInjection Classes DebugBundle

BundleTransformer::createStubs()

createStubs(StubbingContextInterface $context) Parameters StubbingContextInterface $context

Bundle\DebugBundle\DependencyInjection

Classes Configuration DebugExtension configuration structure. DebugExtension DebugExtension.

BundleTransformer::addRule()

addRule(TransformationRuleInterface $rule) Adds a new compilation rule. Parameters TransformationRuleInterface $rule The compilation rule.

BundleWriterInterface

interface BundleWriterInterface Writes resource bundle files. Methods write(string $path, string $locale, mixed $data) Writes data to a resource bundle. Details write(string $path, string $locale, mixed $data) Writes data to a resource bundle. Parameters string $path The path to the resource bundle. string $locale The locale to (over-)write. mixed $data The data to write.

Bundle\DebugBundle\DependencyInjection\Compiler

Classes DumpDataCollectorPass Registers the file link format for the {@link \Symfony\Component\HttpKernel\DataCollector\DumpDataCollector}.

BundleTransformer::compileBundles()

compileBundles(CompilationContextInterface $context) Runs the compilation with the given compilation context. Parameters CompilationContextInterface $context The context storing information needed to run the compilation. Exceptions RuntimeException If any of the files to be compiled by the loaded compilation rules does not exist.

BundleTransformer

class BundleTransformer Compiles a number of resource bundles based on predefined compilation rules. Methods addRule(TransformationRuleInterface $rule) Adds a new compilation rule. compileBundles(CompilationContextInterface $context) Runs the compilation with the given compilation context. createStubs(StubbingContextInterface $context) Details addRule(TransformationRuleInterface $rule) Adds a new compilation rule. Parameters Trans

BundleReaderInterface::getLocales()

string[] getLocales(string $path) Reads the available locales of a resource bundle. Parameters string $path The path to the resource bundle. Return Value string[] A list of supported locale codes.