예제 #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);
 }