Example #1
0
 public function __construct(Command\Builder\FetchObject $builder)
 {
     parent::__construct($builder);
     $this->bucket = $builder->getBucket();
     $this->location = $builder->getLocation();
     $this->decodeAsAssociative = $builder->getDecodeAsAssociative();
 }
Example #2
0
 public function __construct(Command\Builder\StoreObject $builder)
 {
     parent::__construct($builder);
     $this->object = $builder->getObject();
     $this->bucket = $builder->getBucket();
     $this->location = $builder->getLocation();
     $this->decodeAsAssociative = $builder->getDecodeAsAssociative();
     if ($this->location) {
         $this->method = 'PUT';
     }
 }
 public function __construct(Command\Builder\FetchPreflist $builder)
 {
     parent::__construct($builder);
     $this->bucket = $builder->getBucket();
     $this->location = $builder->getLocation();
 }
Example #4
0
 public function __construct(Command\Builder\DeleteObject $builder)
 {
     parent::__construct($builder);
     $this->bucket = $builder->getBucket();
     $this->location = $builder->getLocation();
 }