RadioType::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

Crawler::addContent()

addContent(string $content, null|string $type = null) Adds HTML/XML content. If the charset is not set via the content type, it is assumed to be ISO-8859-1, which is the default charset defined by the HTTP 1.1 specification. Parameters string $content A string to parse as HTML/XML null|string $type The content type of the string

OutputStyle::isVerbose()

bool isVerbose() Returns whether verbosity is verbose (-v). Return Value bool true if verbosity is set to VERBOSITY_VERBOSE, false otherwise

ChoiceList deprecated::getIndicesForValues()

array getIndicesForValues(array $values) deprecated deprecated since version 2.4, to be removed in 3.0. Returns the indices corresponding to the given values. The indices must be positive integers or strings accepted by {@link \Symfony\Component\Form\FormConfigBuilder::validateName()}. The index "placeholder" is internally reserved. The indices must be returned with the same keys and in the same order as the corresponding values in the given array. Parameters array $values A

RangeType::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

MockArraySessionStorage

class MockArraySessionStorage implements SessionStorageInterface MockArraySessionStorage mocks the session for unit tests. No PHP session is actually started since a session can be initialized and shutdown only once per PHP execution cycle. When doing functional testing, you should use MockFileSessionStorage instead. Methods __construct(string $name = 'MOCKSESSID', MetadataBag $metaBag = null) Constructor. setSessionData(array $array) Sets the session data. bool start() Starts

RouterInterface

interface RouterInterface implements UrlMatcherInterface, UrlGeneratorInterface RouterInterface is the interface that all Router classes must implement. This interface is the concatenation of UrlMatcherInterface and UrlGeneratorInterface. Methods setContext(RequestContext $context) Sets the request context. from RequestContextAwareInterface RequestContext getContext() Gets the request context. from RequestContextAwareInterface array match(string $pathinfo) Tries to match a URL pa

Cursor

class Cursor Represents the current state of a dumper while dumping. Constants HASH_INDEXED HASH_ASSOC HASH_OBJECT HASH_RESOURCE Properties $depth $refIndex $softRefTo $softRefCount $softRefHandle $hardRefTo $hardRefCount $hardRefHandle $hashType $hashKey $hashKeyIsBinary $hashIndex $hashLength $hashCut $stop

WriteCheckSessionHandler::gc()

gc($maxlifetime) {@inheritdoc} Parameters $maxlifetime

RequestContext::setHost()

RequestContext setHost(string $host) Sets the HTTP host. Parameters string $host The HTTP host Return Value RequestContext The current instance, implementing a fluent interface