/**
  * Call the adapters finish() behaviour
  *
  * @return void
  */
 public function finish()
 {
     if ($this->persistenceNamespace !== null) {
         unset($this->persistenceNamespace->isSet);
     }
     $this->adapter->finish();
 }
Example #2
0
 /**
  * Defined by Zend_ProgressBar_Adapter
  *
  * @param null|array|\Zend\Config\Config $options
  */
 public function __construct($options = null)
 {
     // Call parent constructor with options
     parent::__construct($options);
     // Check if a width was set, else use auto width
     if ($this->_width === null) {
         $this->setWidth();
     }
 }