diff options
author | ignace nyamagana butera <nyamsprod@gmail.com> | 2014-02-28 15:00:47 +0100 |
---|---|---|
committer | ignace nyamagana butera <nyamsprod@gmail.com> | 2014-02-28 15:00:47 +0100 |
commit | f8953568fa1b6910f0cb7e0ec4b861d47db34b17 (patch) | |
tree | f76fea2674a633f8cfb15174371caf3bbe5702c1 /examples/merge.php | |
parent | 4f1ed587c59c1524599457f8fcc562dcb5b845ed (diff) | |
parent | ef58410e9c67a734eb6bdf3a9264b7df6082f501 (diff) | |
download | csv-5.0.0.zip csv-5.0.0.tar.gz csv-5.0.0.tar.bz2 |
Merge pull request #17 from thephpleague/update-namespace5.0.0
Update namespace
Diffstat (limited to 'examples/merge.php')
-rw-r--r-- | examples/merge.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/merge.php b/examples/merge.php index cdb9624..848bcc2 100644 --- a/examples/merge.php +++ b/examples/merge.php @@ -1,7 +1,7 @@ <?php -use Bakame\Csv\Writer; -use Bakame\Csv\Reader; +use League\Csv\Writer; +use League\Csv\Reader; require '../vendor/autoload.php'; @@ -42,7 +42,7 @@ $csv2merge->setDelimiter(','); /* When merging multiples CSV documents don't forget to set the main CSV object - as a `Bakame\Csv\Writer` object with the $open_mode = 'a+' to preserve its content. + as a `League\Csv\Writer` object with the $open_mode = 'a+' to preserve its content. This setting is of course not required when your main CSV object is created from String */ @@ -55,7 +55,7 @@ $csv2merge->setDelimiter(','); <link rel="stylesheet" href="example.css"> </head> <body> -<h1>Using the Bakame\Csv\Writer class to merge two CSV documents</h1> +<h1>Using the League\Csv\Writer class to merge two CSV documents</h1> <h3>The main Raw CSV</h3> <p><em>The delimiter is a ";"</em></p> <pre> @@ -74,7 +74,7 @@ $csv2merge->setDelimiter(','); </pre> <h3>Tips</h3> <p> When merging multiples CSV documents don't forget to set the main CSV object - as a <code>Bakame\Csv\Writer</code> object with the <code>$open_mode = 'a+'</code> + as a <code>League\Csv\Writer</code> object with the <code>$open_mode = 'a+'</code> to preserve its content. This setting is of course not required when your main CSV object is created from String</p> </body> |