Exemple #1
0
 /**
  * Remove all headers at once
  * @return AbstractMessage
  */
 public function removeHeaders()
 {
     $this->headers->flush();
     return $this;
 }
Exemple #2
0
 /**
  * Build a configuration instance
  * @param array $data
  */
 public function __construct(array $data = [])
 {
     parent::__construct(array_merge(self::DEFAULTS, $data));
 }