Code Duplication    Length = 12-15 lines in 4 locations

Alpha/Controller/GenSecureQueryStringController.php 1 location

@@ 74-87 (lines=14) @@
71
     *
72
     * @since 1.0
73
     */
74
    public function __construct()
75
    {
76
        self::$logger = new Logger('GenSecureQueryStringController');
77
        self::$logger->debug('>>__construct()');
78
79
        $config = ConfigProvider::getInstance();
80
81
        // ensure that the super class constructor is called, indicating the rights group
82
        parent::__construct('Admin');
83
84
        $this->setTitle('Generate Secure Query Strings');
85
86
        self::$logger->debug('<<__construct');
87
    }
88
89
    /**
90
     * Handle GET requests.

Alpha/Controller/LogController.php 1 location

@@ 79-90 (lines=12) @@
76
     *
77
     * @since 1.0
78
     */
79
    public function __construct()
80
    {
81
        self::$logger = new Logger('LogController');
82
        self::$logger->debug('>>__construct()');
83
84
        // ensure that the super class constructor is called, indicating the rights group
85
        parent::__construct('Admin');
86
87
        $this->setTitle('Displaying the requested log');
88
89
        self::$logger->debug('<<__construct');
90
    }
91
92
    /**
93
     * Handle GET requests.

Alpha/Controller/MetricController.php 1 location

@@ 69-80 (lines=12) @@
66
     *
67
     * @since 1.0
68
     */
69
    public function __construct()
70
    {
71
        self::$logger = new Logger('MetricController');
72
        self::$logger->debug('>>__construct()');
73
74
        // ensure that the super class constructor is called, indicating the rights group
75
        parent::__construct('Admin');
76
77
        $this->setTitle('Application Metrics');
78
79
        self::$logger->debug('<<__construct');
80
    }
81
82
    /**
83
     * Handle GET requests.

Alpha/Controller/PhpinfoController.php 1 location

@@ 71-85 (lines=15) @@
68
     *
69
     * @since 2.0.3
70
     */
71
    public function __construct()
72
    {
73
        self::$logger = new Logger('PhpinfoController');
74
        self::$logger->debug('>>__construct()');
75
76
        $config = ConfigProvider::getInstance();
77
78
        // ensure that the super class constructor is called, indicating the rights group
79
        parent::__construct('Admin');
80
81
        // set up the title and meta details
82
        $this->setTitle('Information about the PHP installation');
83
84
        self::$logger->debug('<<__construct');
85
    }
86
87
    /**
88
     * Handle GET requests.