Source of file PositionEntity.php
Size: 0,634 Bytes - Last Modified: 2020-10-24T02:46:31+00:00
/home/travis/build/NextDom/nextdom-core/src/Model/Entity/Parents/PositionEntity.php
12345678910111213141516171819202122232425262728293031323334 | <?php namespace NextDom\Model\Entity\Parents; trait PositionEntity { abstract public function updateChangeState($oldValue, $newValue); /** * @var integer * * @ORM\Column(name="position", type="integer", nullable=true) */ protected $position; /** * @return int */ public function getPosition() { return $this->position; } /** * @param $_position * @return $this */ public function setPosition($_position) { $this->updateChangeState($this->position, $_position); $this->position = $_position; return $this; } } |