123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
-
- namespace Doctrine\Tests\Models\DDC117;
-
-
- class DDC117ArticleDetails
- {
-
-
- private $article;
-
-
-
- private $text;
-
- public function __construct($article, $text)
- {
- $this->article = $article;
- $article->setDetails($this);
-
- $this->update($text);
- }
-
- public function update($text)
- {
- $this->text = $text;
- }
-
- public function getText()
- {
- return $this->text;
- }
- }
|