Total Complexity | 1 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
5 | class Expires extends Element |
||
6 | { |
||
7 | /** |
||
8 | * Element name. |
||
9 | * |
||
10 | * @var string |
||
11 | */ |
||
12 | const NAME = 'Expires'; |
||
13 | |||
14 | /** |
||
15 | * Constructor for Expires element. |
||
16 | * |
||
17 | * @param int $timestamp the timestamp value |
||
18 | * @param int $expiresIn the expires in time |
||
19 | * @param string $namespace the namespace |
||
20 | */ |
||
21 | 6 | public function __construct($timestamp, $expiresIn = 3600, $namespace = self::NS_WSSU) |
|
27 |