ChainUserProvider

class ChainUserProvider implements UserProviderInterface Chain User Provider. This provider calls several leaf providers in a chain until one is able to handle the request. Methods __construct(array $providers) array getProviders() UserInterface loadUserByUsername(string $username) Loads the user for the given username. UserInterface refreshUser(UserInterface $user) Refreshes the user for the account interface. bool supportsClass(string $class) Whether this provider

ChainLoader

class ChainLoader extends Loader ChainLoader is a loader that calls other loaders to load templates. Methods setLogger(LoggerInterface $logger) Sets the debug logger to use for this loader. from Loader setDebugger(DebuggerInterface $debugger) deprecated Sets the debugger to use for this loader. from Loader __construct(array $loaders = array()) Constructor. addLoader(LoaderInterface $loader) Adds a loader instance. Storage|bool load(TemplateReferenceInterface $template)

ChainExtractor::setPrefix()

setPrefix(string $prefix) Sets the prefix that should be used for new found messages. Parameters string $prefix The prefix

ChainExtractor::extract()

extract(string $directory, MessageCatalogue $catalogue) Extracts translation messages from a template directory to the catalogue. Parameters string $directory The path to look into MessageCatalogue $catalogue The catalogue

ChainExtractor::addExtractor()

addExtractor(string $format, ExtractorInterface $extractor) Adds a loader to the translation extractor. Parameters string $format The format of the loader ExtractorInterface $extractor The loader

ChainExtractor

class ChainExtractor implements ExtractorInterface ChainExtractor extracts translation messages from template files. Methods addExtractor(string $format, ExtractorInterface $extractor) Adds a loader to the translation extractor. setPrefix(string $prefix) Sets the prefix that should be used for new found messages. extract(string $directory, MessageCatalogue $catalogue) Extracts translation messages from a template directory to the catalogue. Details

ChainEncoder::supportsEncoding()

bool supportsEncoding(string $format) Checks whether the serializer can encode to given format. Parameters string $format format name Return Value bool

ChainEncoder::needsNormalization()

bool needsNormalization(string $format) Checks whether the normalization is needed for the given format. Parameters string $format Return Value bool

ChainEncoder::encode()

final scalar encode(mixed $data, string $format, array $context = array()) Encodes data into the given format. Parameters mixed $data Data to encode string $format Format name array $context options that normalizers/encoders have access to. Return Value scalar Exceptions UnexpectedValueException

ChainEncoder

class ChainEncoder implements EncoderInterface Encoder delegating the decoding to a chain of encoders. Methods __construct(array $encoders = array()) scalar encode(mixed $data, string $format, array $context = array()) Encodes data into the given format. bool supportsEncoding(string $format) Checks whether the serializer can encode to given format. bool needsNormalization(string $format) Checks whether the normalization is needed for the given format. Details