/** * @return void */ public static function initialize() { defined('APPLICATION_SOURCE_DIR') || define('APPLICATION_SOURCE_DIR', APPLICATION_ROOT_DIR . '/src'); defined('APPLICATION_VENDOR_DIR') || define('APPLICATION_VENDOR_DIR', APPLICATION_ROOT_DIR . '/vendor'); defined('APPLICATION') || define('APPLICATION', 'ZED'); defined('SYSTEM_UNDER_TEST') || define('SYSTEM_UNDER_TEST', false); SprykerEnvironment::initialize(APPLICATION, true); }
/** * @param \Propel\Generator\Model\Table $table */ public function __construct(Table $table) { parent::__construct($table); Environment::initialize(); }