Skip to content

Commit

Permalink
documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
ifsnop committed Jul 5, 2014
1 parent c1c3fef commit 125d64b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ $ curl --silent --location https://github.com/ifsnop/mysqldump-php/archive/v1.3.

With [Autoloader](http://www.php-fig.org/psr/psr-4/)/[Composer](http://getcomposer.org):

```
<?php
use Ifsnop\Mysqldump as IMysqldump;
Expand All @@ -42,16 +43,19 @@ try {
}
?>
```

Plain old PHP:

```
<?php
include_once(dirname(__FILE__) . '/mysqldump-php-1.3/src/Ifsnop/Mysqldump/Mysqldump.php');
$dump = new Ifsnop\Mysqldump\Mysqldump( 'database', 'username', 'password');
$dump->start('storage/work/dump.sql');
?>
```

## Constructor and default parameters

Expand Down

0 comments on commit 125d64b

Please sign in to comment.