Completed
Push — master ( cfe8d7...fcc746 )
by André
19:36 queued 06:48
created

Id::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
5
 * @license For full copyright and license information view LICENSE file distributed with this source code.
6
 */
7
namespace eZ\Publish\API\Repository\Values\URL\Query\SortClause;
8
9
use eZ\Publish\API\Repository\Values\URL\Query\SortClause;
10
11
class Id extends SortClause
12
{
13
    /**
14
     * Constructs a new Id SortClause.
15
     *
16
     * @param string $sortDirection
17
     */
18
    public function __construct($sortDirection = self::SORT_ASC)
19
    {
20
        parent::__construct('id', $sortDirection);
21
    }
22
}
23