You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library also contains `Cocur\Slugify\SlugifyInterface`. Use this interface whenever you reference a type in your code.
54
55
55
56
57
+
Integrations
58
+
------------
59
+
60
+
### Symfony2
61
+
62
+
Slugify contains a Symfony2 bundle and service definition that allow you to use it as a service in your Symfony2 application. The code resides in the `Cocur\Slugify\Bridge\Bundle` namespace and you only need to add the bundle class to your `AppKernel.php`:
63
+
64
+
```php
65
+
# app/AppKernel.php
66
+
67
+
class AppKernel extends Kernel
68
+
{
69
+
public function registerBundles()
70
+
{
71
+
$bundles = array(
72
+
// ...
73
+
new Cocur\Slugify\Bridge\Bundle\CocurSlugifyBundle(),
0 commit comments