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