Exemplo n.º 1
0
 public function __construct($attributes = array(), Item $relatedItem = null, $serial = '')
 {
     parent::__construct($attributes, $relatedItem, $serial);
     $this->body = new ContainerStatic();
 }
Exemplo n.º 2
0
 /**
  * Short description of method __construct
  *
  * @access public
  * @author Sam, <*****@*****.**>
  * @param  string body
  * @return mixed
  */
 public function __construct($body = '', Item $relatedItem = null, $serial = '')
 {
     parent::__construct(array(), $relatedItem, $serial);
     $this->body = $body;
 }