Пример #1
0
 /**
  * @param string $body
  * @param null $properties
  */
 public function __construct($body = '', $properties = null)
 {
     $this->setBody($body);
     parent::__construct($properties, self::$propertyDefinitions);
 }
Пример #2
0
 public function __construct($body = '', $properties = null)
 {
     $this->body = $body;
     parent::__construct($properties, static::$PROPERTIES);
 }