Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables::getEnvironment
Returns the current app environment.
Signature
public function getEnvironment()
Returns
- string
- The current environment string (e.g 'dev')
public function getEnvironment()