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