示例#1
0
 /**
  * {@inheritdoc}
  */
 public function __construct(array $config = [])
 {
     parent::__construct($config);
 }
示例#2
0
 /**
  * Marks the state as completed. After marking the instance as completed, we should call the
  * `PdoQueueStoreAdapter::ack()` method to update the database with new status.
  */
 public function markAsCompleted()
 {
     $this->state = self::STATE_COMPLETED;
     parent::markAsCompleted();
 }