Skip to content

Commit

Permalink
Merge pull request #39 from leonardoalifraco/master
Browse files Browse the repository at this point in the history
Fixed shortcode name in the README example
  • Loading branch information
thunderer committed Apr 25, 2016
2 parents d1bfba4 + ea20eaa commit 36f18d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ use Thunder\Shortcode\Processor\Processor;
use Thunder\Shortcode\Shortcode\ShortcodeInterface;

$handlers = new HandlerContainer();
$handlers->add('profile', function(ShortcodeInterface $s) {
$handlers->add('hello', function(ShortcodeInterface $s) {
return sprintf('Hello, %s!', $s->getParameter('name'));
});
$processor = new Processor(new RegularParser(), $handlers);
Expand Down

0 comments on commit 36f18d1

Please sign in to comment.