Open Monograph Press  3.3.0
InconsistentClientTransferException.php
1 <?php
2 
4 
6 
11 {
15  private $invalidCommands = array();
16 
20  public function __construct(array $commands)
21  {
22  $this->invalidCommands = $commands;
23  parent::__construct(
24  'Encountered commands in a batch transfer that use inconsistent clients. The batching ' .
25  'strategy you use with a command transfer must divide command batches by client.'
26  );
27  }
28 
34  public function getCommands()
35  {
36  return $this->invalidCommands;
37  }
38 }
Guzzle\Service\Exception\InconsistentClientTransferException\__construct
__construct(array $commands)
Definition: InconsistentClientTransferException.php:23
Guzzle\Service\Exception\InconsistentClientTransferException\getCommands
getCommands()
Definition: InconsistentClientTransferException.php:37
Guzzle\Service\Exception\InconsistentClientTransferException
Definition: InconsistentClientTransferException.php:10
Guzzle\Service\Exception
Definition: CommandException.php:3
Guzzle\Common\Exception\RuntimeException
Definition: lib/vendor/guzzle/guzzle/src/Guzzle/Common/Exception/RuntimeException.php:5