TokenStream

class TokenStream Represents a token stream. Properties $current Methods __construct(array $tokens) Constructor. string __toString() Returns a string representation of the token stream. next() Sets the pointer to the next token and returns the old one. expect(array|int $type, string|null $value = null, string|null $message = null) Tests a token. bool isEOF() Checks if end of stream was reached. Details __construct(array $tokens)

MoneyToLocalizedStringTransformer::transform()

mixed transform(mixed $value) Transforms a normalized format into a localized money string. Parameters mixed $value The value in the original representation Return Value mixed The value in the transformed representation Exceptions TransformationFailedException If the given value is not numeric or if the value can not be transformed.

SvnCommit::getAuthor()

string getAuthor() Returns the author of the commit. Return Value string The author name

Bundle\WebProfilerBundle\DependencyInjection

Classes Configuration This class contains the configuration information for the bundle WebProfilerExtension WebProfilerExtension.

StubbingContext::getBinaryDir()

string getBinaryDir() Returns the directory where the binary resource bundles are stored. Return Value string An absolute path to a directory.

CurrencyBundleInterface::getCurrencyNames()

string[] getCurrencyNames(string $displayLocale = null) Returns the names of all known currencies. Parameters string $displayLocale Optional. The locale to return the names in Defaults to {@link \Locale::getDefault()}. Return Value string[] A list of currency names indexed by currency codes

AbstractFactory::addOption()

final addOption($name, $default = null) Parameters $name $default

RequestContext

class RequestContext Holds information about the current request. This class implements a fluent interface. Methods __construct(string $baseUrl = '', string $method = 'GET', string $host = 'localhost', string $scheme = 'http', int $httpPort = 80, int $httpsPort = 443, string $path = '/', string $queryString = '') Constructor. RequestContext fromRequest(Request $request) Updates the RequestContext information based on a HttpFoundation Request. string getBaseUrl() Gets the base U

UrlType::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the form. Parameters FormBuilderInterface $builder The form builder array $options The options

DbalSessionHandler::gc()

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