GnuFindAdapter deprecated

class GnuFindAdapter extends AbstractFindAdapter deprecated since 2.8, to be removed in 3.0. Use Finder instead. Shell engine implementation using GNU find command. Methods bool isSupported() Tests adapter support for current platform. from AbstractAdapter AdapterInterface setFollowLinks(bool $followLinks) from AbstractAdapter AdapterInterface setMode(int $mode) from AbstractAdapter AdapterInterface setDepths(array $depths) from AbstractAdapter AdapterInterface set

GlobalVariables::getSession()

Session|null getSession() Returns the current session. Return Value Session|null The session

GlobalVariables::getUser()

mixed getUser() Returns the current user. Return Value mixed See also TokenInterface::getUser()

GlobalVariables::getDebug()

bool getDebug() Returns the current app debug mode. Return Value bool The current debug mode

GlobalVariables::getRequest()

Request|null getRequest() Returns the current request. Return Value Request|null The HTTP request object

GlobalVariables::getEnvironment()

string getEnvironment() Returns the current app environment. Return Value string The current environment string (e.g 'dev')

GlobalVariables

class GlobalVariables GlobalVariables is the entry point for Symfony global variables in PHP templates. Methods __construct(ContainerInterface $container) mixed getUser() Returns the current user. Request|null getRequest() Returns the current request. Session|null getSession() Returns the current session. string getEnvironment() Returns the current app environment. bool getDebug() Returns the current app debug mode. Details __con

GlobalExecutionContextInterface deprecated

interface GlobalExecutionContextInterface deprecated since version 2.5, to be removed in 3.0. Use {@link Context\ExecutionContextInterface} instead. Stores the node-independent state of a validation run. When the validator validates a graph of objects, it uses two classes to store the state during the validation: For each node in the validation graph (objects, properties, getters) the validator creates an instance of {@link ExecutionContextInterface} that stores the information about tha

GlobalExecutionContextInterface deprecated::getViolations()

ConstraintViolationListInterface getViolations() Returns the violations generated by the validator so far. Return Value ConstraintViolationListInterface A list of constraint violations.

GlobalExecutionContextInterface deprecated::getVisitor()

ValidationVisitorInterface getVisitor() Returns the visitor instance used to validate the object graph nodes. Return Value ValidationVisitorInterface The validation visitor.