Bolt\Provider\ThumbnailsServiceProvider::boot PHP Method

boot() public method

public boot ( Silex\Application $app )
$app Silex\Application
    public function boot(Application $app)
    {
        $app['dispatcher']->addListener(ControllerEvents::MOUNT, function (MountEvent $event) {
            $app = $event->getApp();
            $event->mount($app['controller.thumbnails.mount_prefix'], $app['controller.thumbnails']);
        });
    }
ThumbnailsServiceProvider