src/SanitizerServiceProvider.php
private function registerSanitizer()
    {
        $this->singleton(Contracts\Sanitizer::class, function ($app) {
            /** @var  \Illuminate\Contracts\Config\Repository  $config */
            $config = $app['config'];

            return new Factory($config->get('sanitizer.filters'));
        });

        $this->singleton('arcanedev.sanitizer', Contracts\Sanitizer::class);
    }
private function registerSanitizer()
    {
        $this->singleton(Contracts\Sanitizer::class, function ($app) {
            /** @var  \Illuminate\Contracts\Config\Repository  $config */
            $config = $app['config'];

            return new Factory($config->get('sanitizer.filters'));
        });

        $this->singleton('arcanedev.sanitizer', Contracts\Sanitizer::class);
    }
private function registerSanitizer ( ) { $ this -> singleton ( Contracts \ Sanitizer :: class , function ( $ app ) { /** @var  \Illuminate\Contracts\Config\Repository  $config */ $ config = $ app [ 'config' ] ; return new Factory ( $ config -> get ( 'sanitizer.filters' ) ) ; } ) ; $ this -> singleton ( 'arcanedev.sanitizer' , Contracts \ Sanitizer :: class ) ; }
Register Helpers.
Register Helpers .