Skip to content

Commit c4b8b93

Browse files
Changes to AbstractTransfer and poser badge
1 parent 0296392 commit c4b8b93

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
=============
33
PHP SDK for OpenStack/Rackspace APIs
44

5-
[![Travis CI](https://secure.travis-ci.org/rackspace/php-opencloud.png)](https://travis-ci.org/rackspace/php-opencloud) [![Total Downloads](https://poser.pugx.org/rackspace/php-opencloud/downloads.png)](https://packagist.org/packages/rackspace/php-opencloud)
5+
[![Latest Stable Version](https://poser.pugx.org/rackspace/php-opencloud/v/stable.png)](https://packagist.org/packages/rackspace/php-opencloud) [![Travis CI](https://secure.travis-ci.org/rackspace/php-opencloud.png)](https://travis-ci.org/rackspace/php-opencloud) [![Total Downloads](https://poser.pugx.org/rackspace/php-opencloud/downloads.png)](https://packagist.org/packages/rackspace/php-opencloud)
66

77
> **IMPORTANT NOTE**: With release 1.3, all of the file extensions have been
88
changed from `.inc` to `.php`. This means that any existing code must be

lib/OpenCloud/ObjectStore/Upload/AbstractTransfer.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ class AbstractTransfer
5858
*/
5959
protected $options;
6060

61+
/**
62+
* @var int
63+
*/
64+
protected $partSize;
65+
6166
/**
6267
* @var array Defaults that will always override user-defined options
6368
*/
@@ -135,6 +140,11 @@ public function setOption($option, $value)
135140
return $this;
136141
}
137142

143+
public function getPartSize()
144+
{
145+
return $this->partSize;
146+
}
147+
138148
/**
139149
* @return $this
140150
*/

0 commit comments

Comments
 (0)