patrickbrouwers/Laravel-Shortcodes — pull request #2 by jvdanilo (2014-12-25 13:38:48+00:00)
Title: Use compiled shortcode name for callback

Fixes problem when several shortcodes pass through the same registered callback.

This code was making problems
```php
$shortcode->register('text', function($shortcode, $content, $compiler, $name)
{
echo "We are here";
return '

get('class', $shortcode->class) .'>' . $content . '

';
});

$shortcode->register('row', function($shortcode, $content, $compiler, $name)
{
return '

get('class', 'row') .'>' . $content . '

';
});
```