Skip to content

Commit

Permalink
Merge pull request #6 from Haehnchen/patch-2
Browse files Browse the repository at this point in the history
Fix code example SvgRender supports plastic only
  • Loading branch information
liuggio committed Jul 3, 2015
2 parents 9741ab0 + b020e4c commit 001af31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ Flush an image
$render = new SvgRender();
$poser = new Poser(array($render));

echo $poser->generate('license', 'MIT', '428F7E', 'svg');
echo $poser->generate('license', 'MIT', '428F7E', 'plastic');
// or
echo $poser->generateFromURI('license-MIT-428F7E.svg');
echo $poser->generateFromURI('license-MIT-428F7E.plastic');
// or
$image = $poser->generate('license', 'MIT', '428F7E', 'svg');
$image = $poser->generate('license', 'MIT', '428F7E', 'plastic');

echo $image->getFormat();
```
Expand Down

0 comments on commit 001af31

Please sign in to comment.