/**
  * Executes any function that exists for the current environment
  * 
  */
 protected function __applyEnvModifications()
 {
     // Get current environment
     $current_env = EnvManager::getInstance()->getCurrentKey();
     // Execute current environment function
     if ($this->env_configs->hasKey($current_env)) {
         call_user_func_array($this->env_configs->get($current_env), array($this));
     }
 }