ContainerAwareEventManager::dispatchEvent()

bool dispatchEvent(string $eventName, EventArgs $eventArgs = null) Dispatches an event to all registered listeners. Parameters string $eventName The name of the event to dispatch. The name of the event is the name of the method that is invoked on listeners. EventArgs $eventArgs The event arguments to pass to the event handlers/listeners. If not supplied, the single empty EventArgs instance is used. Return Value bool

DelegatingEngine

class DelegatingEngine implements EngineInterface, StreamingEngineInterface DelegatingEngine selects an engine for a given template. Methods __construct(array $engines = array()) Constructor. string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. stream(string|TemplateReferenceInterface $name, array $parameters = array()) Streams a template. bool exists(string|TemplateReferenceInterface $name) Returns true if the template ex

Component\Translation\Loader

Classes ArrayLoader ArrayLoader loads translations from a PHP array. CsvFileLoader CsvFileLoader loads translations from CSV files. IcuDatFileLoader IcuResFileLoader loads translations from a resource bundle. IcuResFileLoader IcuResFileLoader loads translations from a resource bundle. IniFileLoader IniFileLoader loads translations from an ini file. MoFileLoader PhpFileLoader PhpFileLoader loads translations from PHP files returning an array of translations. PoFileLo

DelegatingEngine::stream()

stream(string|TemplateReferenceInterface $name, array $parameters = array()) Streams a template. The implementation should output the content directly to the client. Parameters string|TemplateReferenceInterface $name A template name or a TemplateReferenceInterface instance array $parameters An array of parameters to pass to the template Exceptions RuntimeException if the template cannot be rendered LogicException if the template cannot be streamed

SecurityExtension::getNamespace()

string getNamespace() Returns the namespace to be used for this extension (XML namespace). Return Value string The XML namespace

LanguageBundleTransformationRule

class LanguageBundleTransformationRule implements TransformationRuleInterface The rule for compiling the language bundle. Methods string getBundleName() Returns the name of the compiled resource bundle. string[] beforeCompile(CompilationContextInterface $context) Runs instructions to be executed before compiling the sources of the resource bundle. afterCompile(CompilationContextInterface $context) Runs instructions to be executed after compiling the sources of the resource bund

PackageInterface deprecated

interface PackageInterface deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. Asset package interface. Methods string getVersion() Returns the asset package version. string getUrl(string $path, string|bool|null $version = null) Returns an absolute or root-relative public path. Details string getVersion() Returns the asset package version. Return Value string The version string str

FormLoginFactory

class FormLoginFactory extends AbstractFactory FormLoginFactory creates services for form login authentication. Methods create(ContainerBuilder $container, $id, $config, $userProviderId, $defaultEntryPointId) from AbstractFactory addConfiguration(NodeDefinition $node) addOption($name, $default = null) from AbstractFactory __construct() string getPosition() Defines the position at which the provider is called. getKey() Details c

FormTypeGuesserChain::guessRequired()

ValueGuess guessRequired(string $class, string $property) Returns a guess whether a property of a class is required. Parameters string $class The fully qualified class name string $property The name of the property to guess for Return Value ValueGuess A guess for the field's required setting

PropertyInfoExtractor

class PropertyInfoExtractor implements PropertyInfoExtractorInterface Default {see PropertyInfoExtractorInterface} implementation. Methods __construct(array $listExtractors = array(), array $typeExtractors = array(), array $descriptionExtractors = array(), array $accessExtractors = array()) string[]|null getProperties(string $class, array $context = array()) Gets the list of properties available for the given class. string|null getShortDescription(string $class, string $proper