kriswallsmith/assetic — pull request #302 by adrienbrault (2012-09-14 09:09:54+00:00)
Title: Fix functions.php that failed when required multiple times

Fixes the following that occured when using behat + symfony2 extension + a symfony2 app using assetic

```
PHP Fatal error: Cannot redeclare assetic_init() (previously declared in vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26

Fatal error: Cannot redeclare assetic_init() (previously declared in /vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26
```

Swiftmailer uses the same trick : https://github.com/swiftmailer/swiftmailer/blob/master/lib/swift_required.php