BufferingLogger::cleanLogs()

cleanLogs()

Bundle

Namespaces Symfony\Bundle\FrameworkBundleSymfony\Bundle\SecurityBundleSymfony\Bundle\TwigBundleSymfony\Bundle\WebProfilerBundle

BufferedOutput

class BufferedOutput extends Output Methods __construct(int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = false, OutputFormatterInterface $formatter = null) Constructor. from Output setFormatter(OutputFormatterInterface $formatter) Sets output formatter. from Output OutputFormatterInterface getFormatter() Returns current output formatter instance. from Output setDecorated(bool $decorated) Sets the decorated flag. from Output bool isDecorated() Gets the decorated fl

BufferingLogger

class BufferingLogger extends AbstractLogger A buffering logger that stacks logs for later. Methods log($level, $message, array $context = array()) cleanLogs() Details log($level, $message, array $context = array()) Parameters $level $message array $context cleanLogs()

BufferingLogger::log()

log($level, $message, array $context = array()) Parameters $level $message array $context

BufferedBundleReader::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.

BufferedBundleReader

class BufferedBundleReader implements BundleReaderInterface Methods __construct(BundleReaderInterface $reader, int $bufferSize) Buffers a given reader. mixed read(string $path, string $locale) Reads a resource bundle. Details __construct(BundleReaderInterface $reader, int $bufferSize) Buffers a given reader. Parameters BundleReaderInterface $reader The reader to buffer int $bufferSize The number of entries to store in the buffer.

BufferedBundleReader::read()

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.

BufferedBundleReader

class BufferedBundleReader implements BundleReaderInterface Methods __construct(BundleReaderInterface $reader, integer $bufferSize) Buffers a given reader. mixed read(string $path, string $locale) Reads a resource bundle. string[] getLocales(string $path) Reads the available locales of a resource bundle. Details __construct(BundleReaderInterface $reader, integer $bufferSize) Buffers a given reader. Parameters BundleReaderInterface $r

BsdFindAdapter deprecated

class BsdFindAdapter extends AbstractFindAdapter deprecated since 2.8, to be removed in 3.0. Use Finder instead. Shell engine implementation using BSD find command. Methods bool isSupported() Tests adapter support for current platform. from AbstractAdapter AdapterInterface setFollowLinks(bool $followLinks) from AbstractAdapter AdapterInterface setMode(int $mode) from AbstractAdapter AdapterInterface setDepths(array $depths) from AbstractAdapter AdapterInterface set