Example #1
0
 public function getOption($name, $default = null)
 {
     if ($this->_impl) {
         return $this->_impl->getOption($name, $default);
     } else {
         return parent::getOption($name, $default);
     }
 }
Example #2
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->_reader = new Protobuf\Codec\Binary\NativeReader();
 }