ParentNodeDefinitionInterface

interface ParentNodeDefinitionInterface An interface that must be implemented by nodes which can have children. Methods children() append(NodeDefinition $node) setBuilder(NodeBuilder $builder) Details children() append(NodeDefinition $node) Parameters NodeDefinition $node setBuilder(NodeBuilder $builder) Parameters NodeBuilder $builder

ProgressBar::setBarCharacter()

setBarCharacter(string $char) Sets the bar character. Parameters string $char A character

Firewall

class Firewall implements EventSubscriberInterface Firewall uses a FirewallMap to register security listeners for the given request. It allows for different security strategies within the same application (a Basic authentication for the /api, and a web based authentication for everything else for instance). Methods __construct(FirewallMapInterface $map, EventDispatcherInterface $dispatcher) Constructor. onKernelRequest(GetResponseEvent $event) Handles security. onKernelFinishRe

Filesystem::mkdir()

mkdir(string|array|Traversable $dirs, int $mode = 511) Creates a directory recursively. Parameters string|array|Traversable $dirs The directory path int $mode The directory mode Exceptions IOException On any directory creation failure

GenericMetadata::addConstraint()

GenericMetadata addConstraint(Constraint $constraint) Adds a constraint. If the constraint {@link Valid} is added, the cascading strategy will be changed to {@link CascadingStrategy::CASCADE}. Depending on the $traverse property of that constraint, the traversal strategy will be set to one of the following: {@link TraversalStrategy::IMPLICIT} if $traverse is enabled {@link TraversalStrategy::NONE} if $traverse is disabled Parameters Constraint $constraint The constraint to add

AbstractRememberMeServices::autoLogin()

final TokenInterface autoLogin(Request $request) Implementation of RememberMeServicesInterface. Detects whether a remember-me cookie was set, decodes it, and hands it to subclasses for further processing. Parameters Request $request Return Value TokenInterface Exceptions CookieTheftException RuntimeException

ValidatorInterface::inContext()

ContextualValidatorInterface inContext(ExecutionContextInterface $context) Returns a validator in the given execution context. The returned validator adds all generated violations to the given context. Parameters ExecutionContextInterface $context The execution context Return Value ContextualValidatorInterface The validator for that context

Question::isHiddenFallback()

bool isHiddenFallback() In case the response can not be hidden, whether to fallback on non-hidden question or not. Return Value bool

CacheItem::expiresAt()

expiresAt($expiration) {@inheritdoc} Parameters $expiration

Finder::exclude()

Finder|SplFileInfo[] exclude(string|array $dirs) Excludes directories. Parameters string|array $dirs A directory path or an array of directories Return Value Finder|SplFileInfo[] The current Finder instance See also ExcludeDirectoryFilterIterator