DebugFormatterHelper::stop()

string stop(string $id, string $message, bool $successful, string $prefix = 'RES') Stops a formatting session. Parameters string $id The id of the formatting session string $message The message to display bool $successful Whether to consider the result as success string $prefix The prefix for the end output Return Value string

ResourceCaster::castStream()

static castStream($stream, array $a, Stub $stub, $isNested) Parameters $stream array $a Stub $stub $isNested

ButtonBuilder::addEventSubscriber()

FormConfigBuilderInterface addEventSubscriber(EventSubscriberInterface $subscriber) Unsupported method. This method should not be invoked. Parameters EventSubscriberInterface $subscriber The subscriber to attach Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallException

GuardAuthenticatorInterface::createAuthenticatedToken()

GuardTokenInterface createAuthenticatedToken(UserInterface $user, string $providerKey) Create an authenticated token for the given user. If you don't care about which token class is used or don't really understand what a "token" is, you can skip this method by extending the AbstractGuardAuthenticator class from your authenticator. Parameters UserInterface $user string $providerKey The provider (i.e. firewall) key Return Value GuardTokenInterface See also AbstractGuardAuthent

ResolvedFormType::getInnerType()

FormTypeInterface getInnerType() Returns the wrapped form type. Return Value FormTypeInterface The wrapped form type

ConstraintViolationListInterface::has()

bool has(int $offset) Returns whether the given offset exists. Parameters int $offset The violation offset Return Value bool Whether the offset exists

StaticVersionStrategy

class StaticVersionStrategy implements VersionStrategyInterface Returns the same version for all assets. Methods __construct(string $version, string $format = null) string getVersion(string $path) Returns the asset version for an asset. string applyVersion(string $path) Applies version to the supplied path. Details __construct(string $version, string $format = null) Parameters string $version Version number string $format Url format

TokenStream::expect()

expect(array|int $type, string|null $value = null, string|null $message = null) Tests a token. Parameters array|int $type The type to test string|null $value The token value string|null $message The syntax error message

NoSuchOptionException

class NoSuchOptionException extends OutOfBoundsException implements ExceptionInterface Thrown when trying to read an option that has no value set. When accessing optional options from within a lazy option or normalizer you should first check whether the optional option is set. You can do this with isset($options['optional']). In contrast to the {@link UndefinedOptionsException}, this is a runtime exception that can occur when evaluating lazy options.

DumperInterface::enterHash()

enterHash(Cursor $cursor, int $type, string $class, bool $hasChild) Dumps while entering 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