Permalink
Browse files

2.6 release

  • Loading branch information...
troydavisson committed Mar 23, 2018
1 parent a468b25 commit 4dd3e1820973bf3efaee4738281f6af32d5d8130
Showing with 14 additions and 3 deletions.
  1. +2 −1 README.md
  2. +9 −0 docs/changelog.md
  3. +1 −1 docs/start.md
  4. +2 −1 src/Session.php
@@ -68,6 +68,7 @@ PHRETS provides PHP developers a way to integrate RETS functionality directly wi
* HTTP Header management
* Authentication
* Session/Cookie management
* PHP 5.6, 7.0, 7.1 and 7.2 supported
### Installation
@@ -255,7 +256,7 @@ $objects->last();
$objects = $objects->slice(0, 10);
```
Each object within that collection is a `\PHRETS\Models\Object` object with it's own set of helper methods:
Each object within that collection is a `\PHRETS\Models\BaseObject` object with it's own set of helper methods:
```php
$objects = $rets->GetObject( see above documentation );
@@ -2,6 +2,15 @@
_Release TBD_
## 2.6
_Released March 22, 2018_
* Support for PHP 7.2
* `PHRETS\Models\Object` renamed to `PHRETS\Models\BaseObject`
* `PHRETS\Models\Metadata\Object` renamed to `PHRETS\Models\Metadata\BaseObject`
* `PHRETS\Parsers\GetMetadata\Object` renamed to `PHRETS\Parsers\GetMetadata\BaseObject`
## 2.5
_Released October 23, 2017_
@@ -8,7 +8,7 @@ It's best to install [PHRETS](https://packagist.org/packages/troydavisson/PHRETS
# Basic Requirements
* PHP 5.4+
* PHP 5.6+
* Installed via [Composer](http://getcomposer.org)
@@ -13,6 +13,7 @@
use PHRETS\Http\Client as PHRETSClient;
use PHRETS\Interpreters\GetObject;
use PHRETS\Interpreters\Search;
use PHRETS\Models\BaseObject;
use PHRETS\Models\Bulletin;
use PHRETS\Strategies\Strategy;
use Psr\Http\Message\ResponseInterface;
@@ -111,7 +112,7 @@ public function GetPreferredObject($resource, $type, $content_id, $location = 0)
* @param $content_ids
* @param string $object_ids
* @param int $location
* @return Collection
* @return Collection|BaseObject[]
* @throws Exceptions\CapabilityUnavailable
*/
public function GetObject($resource, $type, $content_ids, $object_ids = '*', $location = 0)

0 comments on commit 4dd3e18

Please sign in to comment.