Example #1
0
 /**
  * Sets XML generator instance
  *
  * @param Zend\XmlRpc\Generator $generator
  * @return void
  */
 public static function setGenerator(Generator $generator)
 {
     self::$_generator = $generator;
 }
Example #2
0
File: Value.php Project: rikaix/zf2
 /**
  * Sets XML generator instance
  *
  * @param  null|Generator\GeneratorInterface $generator
  * @return void
  */
 public static function setGenerator(Generator\GeneratorInterface $generator = null)
 {
     self::$_generator = $generator;
 }