| 1 | <?php |
||
| 15 | trait NestedSetTrait |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var int |
||
| 19 | * |
||
| 20 | * @Column(name="lft", type="integer", nullable=true) |
||
| 21 | * |
||
| 22 | */ |
||
| 23 | protected $left; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var int |
||
| 27 | * |
||
| 28 | * @Column(name="rgt", type="integer", nullable=true) |
||
| 29 | */ |
||
| 30 | protected $right; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var int |
||
| 34 | * |
||
| 35 | * @Column(name="level", type="integer", nullable=true) |
||
| 36 | */ |
||
| 37 | protected $level; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return int |
||
| 41 | */ |
||
| 42 | public function getLeft() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param int $left |
||
| 49 | * @return $this |
||
| 50 | */ |
||
| 51 | public function setLeft($left) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return int |
||
| 59 | */ |
||
| 60 | public function getRight() |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @param int $right |
||
| 67 | * @return $this |
||
| 68 | */ |
||
| 69 | public function setRight($right) |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @return int |
||
| 77 | */ |
||
| 78 | public function getLevel() |
||
| 82 | |||
| 83 | /** |
||
| 84 | * @param int $level |
||
| 85 | * @return $this |
||
| 86 | */ |
||
| 87 | public function setLevel($level) |
||
| 92 | } |
||
|
|
|||
| 93 |
This check marks files that end in a newline character, i.e. an empy line.