Cognitives

Cognitives.io Documentation

Welcome to the Cognitives developer hub. You'll find comprehensive guides and documentation to help you start working with Cognitives as quickly as possible, as well as support if you get stuck. Let's jump right in!

getApplicationEnv()

Function to get the application environment.

Twig Usage

{% set env = _AppHelper.getApplicationEnv() %}

Response Example

PROD or DEV

getApplicationEnv()