Kernel::stripComments()

static string stripComments(string $source) Removes comments from a PHP source string. We don't use the PHP phpstripwhitespace() function as we want the content to be readable and well-formatted. Parameters string $source A PHP string Return Value string The PHP string with the comments removed

AdapterInterface deprecated::setNotNames()

AdapterInterface setNotNames(array $notNames) Parameters array $notNames Return Value AdapterInterface Current instance

EntryManagerInterface::add()

add(Entry $entry) Adds a new entry in the Ldap server. Parameters Entry $entry

RequestMatcher::matchScheme()

matchScheme(string|string[]|null $scheme) Adds a check for the HTTP scheme. Parameters string|string[]|null $scheme An HTTP scheme or an array of HTTP schemes

ApplicationTester::getInput()

InputInterface getInput() Gets the input instance used by the last execution of the application. Return Value InputInterface The current input instance

FormRegistryInterface::getTypeGuesser()

FormTypeGuesserInterface|null getTypeGuesser() Returns the guesser responsible for guessing types. Return Value FormTypeGuesserInterface|null

Question::getDefault()

mixed getDefault() Returns the default answer. Return Value mixed

ValidatorBuilderInterface::addXmlMapping()

ValidatorBuilderInterface addXmlMapping(string $path) Adds an XML constraint mapping file to the validator. Parameters string $path The path to the mapping file Return Value ValidatorBuilderInterface The builder object

FormError::getMessageTemplate()

string getMessageTemplate() Returns the error message template. Return Value string

ContainerInterface::has()

bool has(string $id) Returns true if the given service is defined. Parameters string $id The service identifier Return Value bool true if the service is defined, false otherwise