WindowsPipes

class WindowsPipes extends AbstractPipes WindowsPipes implementation uses temporary files as handles. Properties array $pipes from AbstractPipes Methods __construct($input, $haveReadSupport) close() Closes file handles and pipes. __destruct() array getDescriptors() Returns an array of descriptors for the use of proc_open. string[] getFiles() Returns an array of filenames indexed by their related stream in case these pipes use temporary files. string[] read

ParseException

class ParseException extends RuntimeException Exception class thrown when an error occurs during parsing. Methods __construct(string $message, int $parsedLine = -1, int $snippet = null, string $parsedFile = null, Exception $previous = null) Constructor. string getSnippet() Gets the snippet of code near the error. setSnippet(string $snippet) Sets the snippet of code near the error. string getParsedFile() Gets the filename where the error occurred. setParsedFile(string

TraceableEventDispatcher::getListeners()

array getListeners(string $eventName = null) Gets the listeners of a specific event or all listeners sorted by descending priority. Parameters string $eventName The name of the event Return Value array The event listeners for the specified event, or all event listeners by event name

SplCaster::castFixedArray()

static castFixedArray(SplFixedArray $c, array $a, Stub $stub, $isNested) Parameters SplFixedArray $c array $a Stub $stub $isNested

SecurityHelper::isGranted()

isGranted($role, $object = null, $field = null) Parameters $role $object $field

PassConfig::setMergePass()

setMergePass(CompilerPassInterface $pass) Sets the Merge Pass. Parameters CompilerPassInterface $pass The merge pass

IdentityTranslator::trans()

string trans(string $id, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given message. Parameters string $id The message id (may also be an object that can be cast to string) array $parameters An array of parameters for the message string|null $domain The domain for the message or null to use the default string|null $locale The locale or null to use the default Return Value string The translated string Exceptions InvalidArgum

Component\Intl\Data\Bundle

Namespaces Symfony\Component\Intl\Data\Bundle\CompilerSymfony\Component\Intl\Data\Bundle\ReaderSymfony\Component\Intl\Data\Bundle\Writer

ApplicationTester

class ApplicationTester Eases the testing of console applications. When testing an application, don't forget to disable the auto exit flag: $application = new Application(); $application->setAutoExit(false); Methods __construct(Application $application) int run(array $input, array $options = array()) Executes the application. string getDisplay(bool $normalize = false) Gets the display returned by the last execution of the application. string getErrorOutput(bool $norma

ProgressBar::getPlaceholderFormatterDefinition()

static callable|null getPlaceholderFormatterDefinition(string $name) Gets the placeholder formatter for a given name. Parameters string $name The placeholder name (including the delimiter char like %) Return Value callable|null A PHP callable