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