phalconplus Documentation v1.0.0-rc-1
Class
Class PhalconPlus Enum

# RunMode

    //  className
        // eg: mode "Web" has a module initial className in app/Module.php
        protected map = [
            "Web"     : "Module",
            "Cli"     : "Task",
            "Srv"     : "Srv",
            "Micro"   : "Micro"
        ];

        public function getMapClassName()
        {
            return this->map[this->val];
        }
    }