AbstractBundle

class AbstractBundle implements ResourceBundleInterface

Base class for {@link ResourceBundleInterface} implementations.

Methods

__construct(string $path, StructuredBundleReaderInterface $reader)

Creates a bundle at the given path using the given reader for reading bundle entries.

string[] getLocales()

Returns the list of locales that this bundle supports.

Details

__construct(string $path, StructuredBundleReaderInterface $reader)

Creates a bundle at the given path using the given reader for reading bundle entries.

Parameters

string $path The path to the bundle.
StructuredBundleReaderInterface $reader The reader for reading the bundle.

string[] getLocales()

Returns the list of locales that this bundle supports.

Return Value

string[] A list of locale codes.
doc_Symfony
2016-10-28 06:04:01
Comments
Leave a Comment

Please login to continue.