Skip to content

Commit

Permalink
Fix code example SvgRender supports plastic only
Browse files Browse the repository at this point in the history
This makes copy&paste possible :)
  • Loading branch information
Haehnchen committed Jul 3, 2015
1 parent 9741ab0 commit b020e4c
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 b020e4c

Please sign in to comment.