Request::getClientIps()

array getClientIps() Returns the client IP addresses. In the returned array the most trusted IP address is first, and the least trusted one last. The "real" client IP address is the last one, but this is also the least trusted one. Trusted proxies are stripped. Use this method carefully; you should use getClientIp() instead. Return Value array The client IP addresses See also getClientIp()

FormExtensionInterface

interface FormExtensionInterface Interface for extensions which provide types, type extensions and a guesser. Methods 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 the extensions for the given type. bool hasTypeExtensions(string $name) Returns whether this extension provides type extensions for the given type. For

AbstractExtension::getPseudoClassTranslators()

callable[] getPseudoClassTranslators() Returns pseudo-class translators. Return Value callable[]

StopwatchEvent::start()

StopwatchEvent start() Starts a new event period. Return Value StopwatchEvent The event

MysqlProfilerStorage deprecated

class MysqlProfilerStorage extends PdoProfilerStorage deprecated Deprecated since Symfony 2.8, to be removed in Symfony 3.0. Use {@link FileProfilerStorage} instead. A ProfilerStorage for Mysql. Methods __construct(string $dsn, string $username = '', string $password = '', int $lifetime = 86400) Constructor. from PdoProfilerStorage array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null) Finds profiler tokens for the given c

MutableAclProvider::deleteSecurityIdentity()

deleteSecurityIdentity(SecurityIdentityInterface $sid) Deletes the security identity from the database. ACL entries have the CASCADE option on their foreign key so they will also get deleted Parameters SecurityIdentityInterface $sid Exceptions InvalidArgumentException

AuthenticationProviderManager::setEventDispatcher()

setEventDispatcher(EventDispatcherInterface $dispatcher) Parameters EventDispatcherInterface $dispatcher

HtmlDumper::leaveHash()

leaveHash(Cursor $cursor, int $type, string $class, bool $hasChild, int $cut) Dumps while leaving an hash. Parameters Cursor $cursor The Cursor position in the dump int $type A Cursor::HASH_* const for the type of hash string $class The object class, resource type or array count bool $hasChild When the dump of the hash has child item int $cut The number of items the hash has been cut by

Component\Console\Descriptor

Classes ApplicationDescription Descriptor JsonDescriptor JSON descriptor. MarkdownDescriptor Markdown descriptor. TextDescriptor Text descriptor. XmlDescriptor XML descriptor. Interfaces DescriptorInterface Descriptor interface.

FormRendererEngineInterface::getResourceHierarchyLevel()

int|bool getResourceHierarchyLevel(FormView $view, array $blockNameHierarchy, int $hierarchyLevel) Returns the hierarchy level at which a resource can be found. A block hierarchy is an array which starts with the root of the hierarchy and continues with the child of that root, the child of that child etc. The following is an example for a block hierarchy: formwidget textwidget url_widget The second parameter $hierarchyLevel determines the level of the hierarchy that should be r