ErrorHandler::setLoggers()

array setLoggers(array $loggers) Sets a logger for each error level. Parameters array $loggers Error levels to [LoggerInterface|null, LogLevel::*] map Return Value array The previous map Exceptions InvalidArgumentException

PropertyPathBuilder::remove()

remove(int $offset, int $length = 1) Removes elements from the current path. Parameters int $offset The offset at which to remove int $length The length of the removed piece Exceptions OutOfBoundsException if offset is invalid

SimplePreAuthenticatorInterface

interface SimplePreAuthenticatorInterface implements SimpleAuthenticatorInterface Methods authenticateToken(TokenInterface $token, UserProviderInterface $userProvider, $providerKey) from SimpleAuthenticatorInterface supportsToken(TokenInterface $token, $providerKey) from SimpleAuthenticatorInterface createToken(Request $request, $providerKey) Details authenticateToken(TokenInterface $token, UserProviderInterface $userProvider, $providerKey)

Router::getRouteCollection()

RouteCollection getRouteCollection() Gets the RouteCollection instance associated with this Router. Return Value RouteCollection A RouteCollection instance

PathPackage deprecated

class PathPackage extends Package deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. The path packages adds a version and a base path to asset URLs. Methods __construct(string $basePath = null, string $version = null, string $format = null) Constructor. string getVersion() Returns the asset package version. from Package string getUrl(string $path, string|bool|null $version = null) Returns an absolute or root-relative public path. string getBa

JsonFileDumper

class JsonFileDumper extends FileDumper JsonFileDumper generates an json formatted string representation of a message catalogue. Methods setRelativePathTemplate(string $relativePathTemplate) Sets the template for the relative paths to files. from FileDumper setBackup(bool $backup) Sets backup flag. from FileDumper dump(MessageCatalogue $messages, array $options = array()) Dumps the message catalogue. from FileDumper string formatCatalogue(MessageCatalogue $messages, string $d

EmptyVersionStrategy::getVersion()

string getVersion(string $path) Returns the asset version for an asset. Parameters string $path A path Return Value string The version string

ArrayNode::setAddIfNotSet()

setAddIfNotSet(bool $boolean) Sets whether to add default values for this array if it has not been defined in any of the configuration files. Parameters bool $boolean

TwigDataCollector::getBlockCount()

getBlockCount()

RequestStackContext::isSecure()

bool isSecure() Checks whether the request is secure or not. Return Value bool true if the request is secure, false otherwise