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::getUser()

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

GlobalVariables::getSession()

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

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::getDebug()

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

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::getVisitor()

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

GlobalExecutionContextInterface deprecated::getViolations()

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

GlobalExecutionContextInterface deprecated::getValidatorFactory()

ConstraintValidatorFactoryInterface getValidatorFactory() Returns the factory for constraint validators. Return Value ConstraintValidatorFactoryInterface The constraint validator factory.