BadMethodCallException

class BadMethodCallException extends BadMethodCallException implements ExceptionInterface Base BadMethodCallException for the Form component.

CsrfTokenManager::removeToken()

string|null removeToken(string $tokenId) Invalidates the CSRF token with the given ID, if one exists. Parameters string $tokenId The token ID Return Value string|null Returns the removed token value if one existed, NULL otherwise

Esi::addSurrogateCapability()

addSurrogateCapability(Request $request) Adds ESI/1.0 capability to the given Request. Parameters Request $request A Request instance

Response::isSuccessful()

bool isSuccessful() Is response successful? Return Value bool

SurrogateInterface::getName()

string getName() Returns surrogate name. Return Value string

Definition::setSynthetic()

Definition setSynthetic(bool $boolean) Sets whether this definition is synthetic, that is not constructed by the container, but dynamically injected. Parameters bool $boolean Return Value Definition the current instance

AdapterInterface deprecated::searchInDirectory()

Iterator searchInDirectory(string $dir) Parameters string $dir Return Value Iterator Result iterator

DescriptorHelper

class DescriptorHelper extends DescriptorHelper Methods setHelperSet(HelperSet $helperSet = null) Sets the helper set associated with this helper. from Helper HelperSet getHelperSet() Gets the helper set associated with this helper. from Helper static int strlen(string $string) Returns the length of a string, using mb_strwidth if it is available. from Helper static formatTime($secs) from Helper static formatMemory($memory) from Helper static strlenWithoutDecoration(Ou

ProfilerController::phpinfoAction()

Response phpinfoAction() Displays the PHP info. Return Value Response A Response instance Exceptions NotFoundHttpException

MoneyType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options