1<?php
2/**
3 * This file is part of the FreeDSx LDAP package.
4 *
5 * (c) Chad Sikorra <Chad.Sikorra@gmail.com>
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10
11namespace FreeDSx\Ldap\Control\Vlv;
12
13/**
14 * Some common VLV methods/properties.
15 *
16 * @author Chad Sikorra <Chad.Sikorra@gmail.com>
17 */
18trait VlvTrait
19{
20    /**
21     * @var int|null
22     */
23    protected $count;
24
25    /**
26     * @var null|string
27     */
28    protected $contextId;
29
30    /**
31     * @var int|null
32     */
33    protected $offset;
34
35    /**
36     * @return null|string
37     */
38    public function getContextId(): ?string
39    {
40        return $this->contextId;
41    }
42
43    /**
44     * @return int
45     */
46    public function getOffset(): ?int
47    {
48        return $this->offset;
49    }
50
51    /**
52     * @return int
53     */
54    public function getCount(): ?int
55    {
56        return $this->count;
57    }
58}
59