Skip to content

Commit

Permalink
Add enable bundle to AppKernel
Browse files Browse the repository at this point in the history
  • Loading branch information
Amr Samy committed Feb 5, 2016
1 parent 7125fad commit 8ccb788
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ $ composer require egyg33k/csv-bundle
## Usage

``` php
// Add this line to your AppKernel.php new Egyg33k\CsvBundle\Egyg33kCsvBundle(),
// Then you can use it as following
# Reader
$reader = $this->container->get('egyg33k.csv.reader');
$csv = $reader::createFromPath('/home/egyg33k/Desktop/org.csv');
Expand Down

0 comments on commit 8ccb788

Please sign in to comment.