Component\CssSelector\XPath

Namespaces Symfony\Component\CssSelector\XPath\Extension Classes Translator XPath expression translator interface. XPathExpr XPath expression translator interface. Interfaces TranslatorInterface XPath expression translator interface.

InMemoryTokenProvider::createNewToken()

createNewToken(PersistentTokenInterface $token) Creates a new token. Parameters PersistentTokenInterface $token

Component\DependencyInjection\ParameterBag

Classes FrozenParameterBag Holds read-only parameters. ParameterBag Holds parameters. Interfaces ParameterBagInterface ParameterBagInterface.

HtmlExtension::translateSelected()

XPathExpr translateSelected(XPathExpr $xpath) Parameters XPathExpr $xpath Return Value XPathExpr

FormFactoryInterface::createForProperty()

FormInterface createForProperty(string $class, string $property, mixed $data = null, array $options = array()) Returns a form for a property of a class. Parameters string $class The fully qualified class name string $property The name of the property to guess for mixed $data The initial data array $options The options for the builder Return Value FormInterface The form named after the property Exceptions InvalidOptionsException if any given option is not applicable to the form

Kernel::terminate()

terminate(Request $request, Response $response) Terminates a request/response cycle. Should be called after sending the response and before shutting down the kernel. Parameters Request $request A Request instance Response $response A Response instance

Route::getHost()

getHost()

CommandTester

class CommandTester Eases the testing of console commands. Methods __construct(Command $command) Constructor. int execute(array $input, array $options = array()) Executes the command. string getDisplay(bool $normalize = false) Gets the display returned by the last execution of the command. InputInterface getInput() Gets the input instance used by the last execution of the command. OutputInterface getOutput() Gets the output instance used by the last execution of the c

Filesystem::mkdir()

mkdir(string|array|Traversable $dirs, int $mode = 511) Creates a directory recursively. Parameters string|array|Traversable $dirs The directory path int $mode The directory mode Exceptions IOException On any directory creation failure

ChainUserProvider

class ChainUserProvider implements UserProviderInterface Chain User Provider. This provider calls several leaf providers in a chain until one is able to handle the request. Methods __construct(array $providers) array getProviders() UserInterface loadUserByUsername(string $username) Loads the user for the given username. UserInterface refreshUser(UserInterface $user) Refreshes the user for the account interface. bool supportsClass(string $class) Whether this provider