Application\Configure::config PHP Method

config() public method

public config ( )
    public function config()
    {
        $this->debug = true;
        /*
         * --------------------------------------------------------------------------
         *  Encryption Key
         * --------------------------------------------------------------------------
         *
         *  This key should be set to a random, 32 character string, otherwise these encrypted strings
         *  will not be safe. Please do this before deploying an application!
         *
         */
        $this->_masterKey = 'key';
        $this->database = new \stdClass();
        $this->database->host = 'localhost';
        $this->database->port = 3306;
        $this->database->username = 'root';
        $this->database->password = '';
        $this->database->dbname = 'manaphp';
        $this->database->options = [\PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'UTF8'"];
        $this->logger = new \stdClass();
        $this->logger->file = '@data/logger/' . date('Ymd') . '.log';
    }