W3cubDocs

/Symfony 4.1

CliContextProvider

class CliContextProvider implements ContextProviderInterface

Tries to provide context on CLI.

Methods

array|null getContext()

Details

array|null getContext()

Return Value

array|null Context data or null if unable to provide any context