RegionBundleTransformationRule::beforeCreateStub()

mixed beforeCreateStub(StubbingContextInterface $context) Runs instructions to be executed before creating the stub version of the resource bundle. Parameters StubbingContextInterface $context The contextual information of the compilation. Return Value mixed The data to include in the stub version.

DataCollectorListener::postSubmit()

postSubmit(FormEvent $event) Listener for the {@link FormEvents::POST_SUBMIT} event. Parameters FormEvent $event The event object

LocaleScanner

class LocaleScanner Scans a directory with data files for locales. The name of each file with the extension ".txt" is considered, if it "looks" like a locale: the name must start with two letters; the two letters may optionally be followed by an underscore and any sequence of other symbols. For example, "de" and "de_DE" are considered to be locales. "root" and "meta" are not. Methods array scanLocales(string $sourceDir) Returns all locales found in the given directory. array scanAli

IsTrueValidator

class IsTrueValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed value is valid. Details initia

RecursiveDirectoryIterator

class RecursiveDirectoryIterator extends RecursiveDirectoryIterator Extends the \RecursiveDirectoryIterator to support relative paths. Methods __construct(string $path, int $flags, bool $ignoreUnreadableDirs = false) Constructor. SplFileInfo current() Return an instance of SplFileInfo with support for relative paths. RecursiveIterator getChildren() rewind() Do nothing for non rewindable stream. bool isRewindable() Checks if the stream is rewindable. Details

TaggedContainerInterface

interface TaggedContainerInterface implements ContainerInterface TaggedContainerInterface is the interface implemented when a container knows how to deals with tags. Methods set(string $id, object $service, string $scope = self::SCOPE_CONTAINER) Sets a service. from ContainerInterface object get(string $id, int $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE) Gets a service. from ContainerInterface bool has(string $id) Returns true if the given service is defined. from C

RequestDataCollector::getRequestHeaders()

getRequestHeaders()

ProcessUtils

class ProcessUtils ProcessUtils is a bunch of utility methods. This class contains static methods only and is not meant to be instantiated. Methods static string escapeArgument(string $argument) Escapes a string to be used as a shell argument. static mixed validateInput(string $caller, mixed $input) Validates and normalizes a Process input. Details static string escapeArgument(string $argument) Escapes a string to be used as a shell argumen

Process::start()

start(callable $callback = null) Starts the process and returns after writing the input to STDIN. This method blocks until all STDIN data is sent to the process then it returns while the process runs in the background. The termination of the process can be awaited with wait(). The callback receives the type of output (out or err) and some bytes from the output in real-time while writing the standard input to the process. It allows to have feedback from the independent process during

FormDataExtractorInterface::extractConfiguration()

array extractConfiguration(FormInterface $form) Extracts the configuration data of a form. Parameters FormInterface $form The form Return Value array Information about the form's configuration