Page   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 22
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
/**
4
 * Page.php - A page link for the Jaxon Paginator
5
 *
6
 * @package jaxon-core
7
 * @copyright 2024 Thierry Feuzeu
8
 * @license https://opensource.org/licenses/MIT MIT License
9
 * @link https://github.com/jaxon-php/jaxon-core
10
 */
11
12
namespace Jaxon\Plugin\Response\Pagination;
13
14
class Page
15
{
16
    /**
17
     * @var string
18
     */
19
    public $sType;
20
21
    /**
22
     * @var string
23
     */
24
    public $sText;
25
26
    /**
27
     * @var string
28
     */
29
    public $nNumber;
30
31
    public function __construct(string $sType, string $sText, int $nNumber)
32
    {
33
        $this->sType = $sType;
34
        $this->sText = $sText;
35
        $this->nNumber = $nNumber;
36
    }
37
}