Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.44 KB | None | 0 0
  1. <?php
  2.  
  3. namespace XLite\Module\XCExample\ProductPropertyDemo\Model;
  4.  
  5. abstract class Product extends \XLite\Model\Product implements \XLite\Base\IDecorator
  6. {
  7.     /**
  8.      * @Column (type="string", length=32)
  9.      */
  10.     protected $myMessage;
  11.  
  12.     public function getMyMessage()
  13.     {
  14.         return $this->myMessage;
  15.     }
  16.  
  17.     public function setMyMessage($value)
  18.     {
  19.         $this->myMessage = $value;
  20.         return $this;
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement