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

PhpBundleWriter

class PhpBundleWriter implements BundleWriterInterface Writes .php resource bundles. Methods write(string $path, string $locale, mixed $data) Writes data to a resource bundle. Details write(string $path, string $locale, mixed $data) Writes data to a resource bundle. Parameters string $path The path to the resource bundle. string $locale The locale to (over-)write. mixed $data The data to write.

PhpDumper

class PhpDumper extends Dumper PhpDumper dumps a service container as a PHP class. Constants FIRST_CHARS Characters that might appear in the generated variable name as first character. NON_FIRST_CHARS Characters that might appear in the generated variable name as any but the first character. Methods __construct(ContainerBuilder $container) setProxyDumper(DumperInterface $proxyDumper) Sets the dumper to be used when dumping proxies in the generated container. string dum

TemplateFinder

class TemplateFinder implements TemplateFinderInterface Finds all the templates. Methods __construct(KernelInterface $kernel, TemplateNameParserInterface $parser, string $rootDir) Constructor. array findAllTemplates() Find all the templates in the bundle and in the kernel Resources folder. Details __construct(KernelInterface $kernel, TemplateNameParserInterface $parser, string $rootDir) Constructor. Parameters KernelInterface $kernel A

AbstractRendererEngine::getResourceForBlockName()

mixed getResourceForBlockName(FormView $view, string $blockName) Returns the resource for a block name. The resource is first searched in the themes attached to $view, then in the themes of its parent view and so on, until a resource was found. The type of the resource is decided by the implementation. The resource is later passed to {@link renderBlock()} by the rendering algorithm. Parameters FormView $view The view for determining the used themes First the themes attached dir

PreloadedExtension

class PreloadedExtension implements FormExtensionInterface A form extension with preloaded types, type extensions and type guessers. Methods __construct(array $types, array $typeExtensions, FormTypeGuesserInterface $typeGuesser = null) Creates a new preloaded extension. FormTypeInterface getType(string $name) Returns a type by name. bool hasType(string $name) Returns whether the given type is supported. FormTypeExtensionInterface[] getTypeExtensions(string $name) Returns t