PhpDumper::dump()

string dump(array $options = array()) Dumps the service container as a PHP class. Available options: class: The class name base_class: The base class name namespace: The class namespace Parameters array $options An array of options Return Value string The representation of the service container

PhpDumper

class PhpDumper extends Dumper PhpDumper dumps a service container as a PHP class. Constants FIRST_CHARS Characters that might appear in the generated variable name as first character. NON_FIRST_CHARS Characters that might appear in the generated variable name as any but the first character. Methods __construct(ContainerBuilder $container) setProxyDumper(DumperInterface $proxyDumper) Sets the dumper to be used when dumping proxies in the generated container. string dum

PhpDocExtractor::getTypes()

Type[]|null getTypes(string $class, string $property, array $context = array()) Gets types of a property. Parameters string $class string $property array $context Return Value Type[]|null

PhpDocExtractor::getShortDescription()

string|null getShortDescription(string $class, string $property, array $context = array()) Gets the short description of the property. Parameters string $class string $property array $context Return Value string|null

PhpDocExtractor::getLongDescription()

string|null getLongDescription(string $class, string $property, array $context = array()) Gets the long description of the property. Parameters string $class string $property array $context Return Value string|null

PhpDocExtractor

class PhpDocExtractor implements PropertyDescriptionExtractorInterface, PropertyTypeExtractorInterface Extracts data using a PHPDoc parser. Constants PROPERTY ACCESSOR MUTATOR Methods __construct(DocBlockFactoryInterface $docBlockFactory = null) string|null getShortDescription(string $class, string $property, array $context = array()) Gets the short description of the property. string|null getLongDescription(string $class, string $property, array $context = array

PhpBundleWriter

class PhpBundleWriter implements BundleWriterInterface Writes .php resource bundles. 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.

PhpBundleWriter

class PhpBundleWriter implements BundleWriterInterface Writes .php resource bundles. 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.

PhpBundleReader

class PhpBundleReader extends AbstractBundleReader implements BundleReaderInterface Reads .php resource bundles. Methods string[] getLocales(string $path) Reads the available locales of a resource bundle. from AbstractBundleReader mixed read(string $path, string $locale) Reads a resource bundle. Details string[] getLocales(string $path) Reads the available locales of a resource bundle. Parameters string $path The path to the resource bund

PhpBundleReader

class PhpBundleReader implements BundleReaderInterface Reads .php resource bundles. Methods mixed read(string $path, string $locale) Reads a resource bundle. Details mixed read(string $path, string $locale) Reads a resource bundle. Parameters string $path The path to the resource bundle. string $locale The locale to read. Return Value mixed Returns an array or {@link \ArrayAccess} instance for complex data, a scalar value otherwise.