Skip to content

Commit

Permalink
Fix doc typo and add travis build status image
Browse files Browse the repository at this point in the history
  • Loading branch information
dwogsi committed Jul 9, 2014
1 parent 61bf10a commit eb109b6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Fixed column width parser bundle
# Fixed column width parser bundle [![Build Status](https://travis-ci.org/t-geindre/fixed-column-width-parser-bundle.svg?branch=master)](https://travis-ci.org/t-geindre/fixed-column-width-parser-bundle)

Provide Symfony integration for [fixed-column-width-parser library](https://github.com/t-geindre/fixed-column-width-parser).

Expand All @@ -13,15 +13,15 @@ $ composer install zol/fixed-column-width-parser-bundle
Then, enable the bundle in your AppKernel :

```php
public function registerBundles()
{
$bundles = array(
// [...]
new Zol\Bundle\FixedColumnWidthParserBundle\ZolFixedColumnWidthParserBundle()
);

return $bundles;
}
public function registerBundles()
{
$bundles = array(
// [...]
new Zol\Bundle\FixedColumnWidthParserBundle\ZolFixedColumnWidthParserBundle()
);

return $bundles;
}
```

## Configuration
Expand Down Expand Up @@ -115,7 +115,7 @@ $genericParser->parse('file.dat', ['entry' => [1]]); // return array file conten
// Configuration defined parser
$itemParser = $container->get('zol.parser.fixed_column_width.item');
$itemParser->parse('item.dat'); // return array file content
``
```

## Tests

Expand Down

0 comments on commit eb109b6

Please sign in to comment.