This shows you the differences between two versions of the page.
kurs:doctrine_oracle_beipspiel [2012/01/19 11:07] mh created |
kurs:doctrine_oracle_beipspiel [2014/09/10 21:22] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | <code> | ||
- | <?php | ||
- | // entities/Test.php | ||
- | class Test { | ||
- | protected $id; | ||
- | protected $name; | ||
- | |||
- | public function getName() { | ||
- | return $this->name; | ||
- | } | ||
- | |||
- | public function setName($name) { | ||
- | $this->name = $name; | ||
- | } | ||
- | |||
- | public function getId() { | ||
- | return $this->id; | ||
- | } | ||
- | } | ||
- | </code> |