ContainerBuilder::register()

Definition register(string $id, string $class = null) Registers a service definition. This methods allows for simple registration of service definition with a fluid interface. Parameters string $id The service identifier string $class The service class Return Value Definition A Definition instance

FormInterface::isValid()

bool isValid() Returns whether the form and all children are valid. If the form is not submitted, this method always returns false. Return Value bool

StoreInterface::purge()

bool purge(string $url) Purges data for the given URL. Parameters string $url A URL Return Value bool true if the URL exists and has been purged, false otherwise

HeaderBag::hasCacheControlDirective()

bool hasCacheControlDirective(string $key) Returns true if the Cache-Control directive is defined. Parameters string $key The Cache-Control directive Return Value bool true if the directive exists, false otherwise

Response::setEtag()

Response setEtag(string|null $etag = null, bool $weak = false) Sets the ETag value. Parameters string|null $etag The ETag unique identifier or null to remove the header bool $weak Whether you want a weak ETag or not Return Value Response

MemcacheSessionHandler::close()

close() {@inheritdoc}

LocaleScanner::scanAliases()

array scanAliases(string $sourceDir) Returns all locale aliases found in the given directory. Parameters string $sourceDir The directory with ICU files Return Value array An array with the locale aliases as keys and the aliased locales as values

Locale deprecated::getLanguages()

static array getLanguages() Returns all available language codes. Return Value array The language codes Exceptions RuntimeException When the resource bundles cannot be loaded

Expression::isGlob()

bool isGlob() Return Value bool

FormErrorIterator::getForm()

FormInterface getForm() Returns the iterated form. Return Value FormInterface The form whose errors are iterated by this object