Process::addOutput()

addOutput(string $line) Adds a line to the STDOUT stream. Parameters string $line The line to append

Process::addErrorOutput()

addErrorOutput(string $line) Adds a line to the STDERR stream. Parameters string $line The line to append

Process

class Process implements IteratorAggregate Process is a thin wrapper around proc_* functions to easily start independent PHP processes. Constants ERR OUT STATUS_READY STATUS_STARTED STATUS_TERMINATED STDIN STDOUT STDERR TIMEOUT_PRECISION ITER_NON_BLOCKING ITER_KEEP_OUTPUT ITER_SKIP_OUT ITER_SKIP_ERR Properties static array $exitCodes Exit codes translation table. Methods __construct(string $commandline, string|null $cwd = null, a

PreviewErrorController

class PreviewErrorController PreviewErrorController can be used to test error pages. It will create a test exception and forward it to another controller. Methods __construct(HttpKernelInterface $kernel, $controller) previewErrorPageAction(Request $request, $code) Details __construct(HttpKernelInterface $kernel, $controller) Parameters HttpKernelInterface $kernel $controller previewErrorPageAction(Reque

PrependExtensionInterface

interface PrependExtensionInterface Methods prepend(ContainerBuilder $container) Allow an extension to prepend the extension configurations. Details prepend(ContainerBuilder $container) Allow an extension to prepend the extension configurations. Parameters ContainerBuilder $container

PreloadedExtension::hasTypeExtensions()

bool hasTypeExtensions(string $name) Returns whether this extension provides type extensions for the given type. Parameters string $name The name of the type Return Value bool Whether the given type has extensions

PreloadedExtension::hasType()

bool hasType(string $name) Returns whether the given type is supported. Parameters string $name The name of the type Return Value bool Whether the type is supported by this extension

PreloadedExtension::getTypeGuesser()

FormTypeGuesserInterface|null getTypeGuesser() Returns the type guesser provided by this extension. Return Value FormTypeGuesserInterface|null The type guesser

PreloadedExtension::getTypeExtensions()

FormTypeExtensionInterface[] getTypeExtensions(string $name) Returns the extensions for the given type. Parameters string $name The name of the type Return Value FormTypeExtensionInterface[] An array of extensions as FormTypeExtensionInterface instances

PreloadedExtension::getType()

FormTypeInterface getType(string $name) Returns a type by name. Parameters string $name The name of the type Return Value FormTypeInterface The type Exceptions InvalidArgumentException if the given type is not supported by this extension