PropertyPathBuilder::replaceByProperty()

replaceByProperty(int $offset, string $name = null) Replaces an index element by a property element. Parameters int $offset The offset at which to replace string $name The new name of the element. Optional Exceptions OutOfBoundsException If the offset is invalid

FrameStub

class FrameStub extends EnumStub Represents a single backtrace frame as returned by debug_backtrace() or Exception->getTrace(). Constants TYPE_REF TYPE_STRING TYPE_ARRAY TYPE_OBJECT TYPE_RESOURCE STRING_BINARY STRING_UTF8 ARRAY_ASSOC ARRAY_INDEXED Properties $type from Stub $class from Stub $value from Stub $cut from Stub $handle from Stub $refCount from Stub $position from Stub $keepArgs $inTraceStub Methods __const

XmlDumper::phpToXml()

static string phpToXml(mixed $value) Converts php types to xml types. Parameters mixed $value Value to convert Return Value string Exceptions RuntimeException When trying to dump object or resource

DialogHelper deprecated::ask()

string ask(OutputInterface $output, string|array $question, string $default = null, array $autocomplete = null) Asks a question to the user. Parameters OutputInterface $output An Output instance string|array $question The question to ask string $default The default answer if none is given by the user array $autocomplete List of values to autocomplete Return Value string The user answer Exceptions RuntimeException If there is no data to read in the input stream

Locale::getRegion()

static string|null getRegion(string $locale) Not supported. Returns the region for the locale. Parameters string $locale The locale code to extract the region code from Return Value string|null The extracted region code or null if not present Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/locale.getregion.php

ButtonBuilder::setType()

FormConfigBuilderInterface setType(ResolvedFormTypeInterface $type) Sets the type of the button. Parameters ResolvedFormTypeInterface $type The type of the form Return Value FormConfigBuilderInterface The configuration object

AbstractObjectNormalizer::denormalize()

object denormalize(mixed $data, string $class, string $format = null, array $context = array()) Denormalizes data back into an object of the given class. Parameters mixed $data data to restore string $class the expected class to instantiate string $format format the given data was extracted from array $context options available to the denormalizer Return Value object

AbstractConnection

class AbstractConnection implements ConnectionInterface Methods __construct(array $config = array()) Details __construct(array $config = array()) Parameters array $config

StoreInterface::unlock()

bool unlock(Request $request) Releases the lock for the given Request. Parameters Request $request A Request instance Return Value bool False if the lock file does not exist or cannot be unlocked, true otherwise

ContextInterface

interface ContextInterface Holds information about the current request. Methods string getBasePath() Gets the base path. bool isSecure() Checks whether the request is secure or not. Details string getBasePath() Gets the base path. Return Value string The base path bool isSecure() Checks whether the request is secure or not. Return Value bool true if the request is secure, false otherwise