jasonlewis/basset — pull request #50 by Anahkiasen (2012-11-01 02:03:19+00:00)
Title: Add ability to directly chain methods to a container

Sometimes when you just have one or two assets per container it's kind of painful and verbose to have to define a callback just for it. This pull request allows the direct chaining of methods to a given container :

```php
Basset::styles('styles')
->directory('path: ' . 'directory')
->add('foo', 'foo.css')
->add('bar', 'bar.css');

Basset::scripts('scripts')
->add('jquery')
->add('scripts', 'scripts.js');
```

I had to report in this PR the modification to the tests made in #49.