1<?php 2/** 3 * Zend Framework (http://framework.zend.com/) 4 * 5 * @link http://github.com/zendframework/zf2 for the canonical source repository 6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 7 * @license http://framework.zend.com/license/new-bsd New BSD License 8 */ 9 10namespace Zend\Serializer\Adapter; 11 12class WddxOptions extends AdapterOptions 13{ 14 /** 15 * Wddx packet header comment 16 * 17 * @var string 18 */ 19 protected $comment = ''; 20 21 /** 22 * Set WDDX header comment 23 * 24 * @param string $comment 25 * @return WddxOptions 26 */ 27 public function setComment($comment) 28 { 29 $this->comment = (string) $comment; 30 return $this; 31 } 32 33 /** 34 * Get WDDX header comment 35 * 36 * @return string 37 */ 38 public function getComment() 39 { 40 return $this->comment; 41 } 42} 43