TokenStorageInterface::removeToken()

string|null removeToken(string $tokenId) Removes a CSRF token. Parameters string $tokenId The token ID Return Value string|null Returns the removed token if one existed, NULL otherwise

StopwatchPeriod

class StopwatchPeriod Represents an Period for an Event. Methods __construct(int $start, int $end) Constructor. int getStartTime() Gets the relative time of the start of the period. int getEndTime() Gets the relative time of the end of the period. int getDuration() Gets the time spent in this period. int getMemory() Gets the memory usage. Details __construct(int $start, int $end) Constructor. Parameters int $start The rel

Crawler::registerNamespace()

registerNamespace(string $prefix, string $namespace) Parameters string $prefix string $namespace

Kernel::getRootDir()

string getRootDir() Gets the application root dir. Return Value string The application root dir

ChoiceList deprecated::getRemainingViews()

array getRemainingViews() Returns the choice views of the choices that are not preferred as nested array with the choice groups as top-level keys. Example: array( 'Group 1' => array( 10 => ChoiceView object, 20 => ChoiceView object, ), 'Group 2' => array( 30 => ChoiceView object, ), ) Return Value array A nested array containing the views with the corresponding choice indices as keys on the lowest levels and the choice group names in the keys of the higher leve

ParameterBagInterface::has()

bool has(string $name) Returns true if a parameter name is defined. Parameters string $name The parameter name Return Value bool true if the parameter name is defined, false otherwise

ServerStartCommand

class ServerStartCommand extends ServerCommand Runs PHP's built-in web server in a background process. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set. from Comman

ChoiceListView

class ChoiceListView Represents a choice list in templates. A choice list contains choices and optionally preferred choices which are displayed in the very beginning of the list. Both choices and preferred choices may be grouped in {@link ChoiceGroupView} instances. Properties ChoiceGroupView[]|ChoiceView[] $choices The choices. ChoiceGroupView[]|ChoiceView[] $preferredChoices The preferred choices. Methods __construct(array $choices = array(), array $preferredChoices = array())

ProgressHelper deprecated::setCurrent()

setCurrent(int $current, bool $redraw = false) Sets the current progress. Parameters int $current The current progress bool $redraw Whether to redraw or not Exceptions LogicException

SymfonyStyle::title()

title(string $message) Formats a command title. Parameters string $message