ppi/framework — Issue #17: add getEnv() or getEnvironment() methods to Action layer
Author: dragoonis
Created: 2012-01-04 16:03:47+00:00
State: open

$this->getEnvironment() should return 'development' or 'production' or a custom one, which you set via your bootstrap into PPI\App.

PPI\App is a make-shift DIC and should be turned into a proper DIC after functions like this get added