Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
frostealth committed Apr 28, 2016
1 parent 9749555 commit 240c91b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ An Amazon S3 component for Yii2.
[![Total Downloads](https://poser.pugx.org/frostealth/yii2-aws-s3/downloads)](https://packagist.org/packages/frostealth/yii2-aws-s3)
[![Latest Unstable Version](https://poser.pugx.org/frostealth/yii2-aws-s3/v/unstable)](https://packagist.org/packages/frostealth/yii2-aws-s3)

> Yii2 AWS S3 uses [semantic versioning](http://semver.org/).
> Yii2 AWS S3 uses [SemVer](http://semver.org/).
> Version 2.x requires PHP 7. For PHP less 7.0 use [1.x](https://github.com/frostealth/yii2-aws-s3/tree/1.x).
Expand Down Expand Up @@ -57,8 +57,8 @@ $result = $s3->commands()->upload('filename.ext', '/path/to/local/file.ext')->se
$result = $s3->commands()->restore('filename.ext', $days = 7)->execute();
/** @var bool $isExisting */
$isExisting = $s3->commands()->exist('filename.ext')->execute();
/** @var bool $exist */
$exist = $s3->commands()->exist('filename.ext')->execute();
/** @var string $url */
$url = $s3->commands()->getUrl('filename.ext')->execute();
Expand All @@ -84,8 +84,8 @@ $result = $s3->upload('filename.ext', '/path/to/local/file.ext');
$result = $s3->restore('filename.ext', $days = 7);
/** @var bool $existence */
$existence = $s3->exist('filename.ext');
/** @var bool $exist */
$exist = $s3->exist('filename.ext');
/** @var string $url */
$url = $s3->getUrl('filename.ext');
Expand Down

0 comments on commit 240c91b

Please sign in to comment.