src/Lablog/Lablog/LablogServiceProvider.php
public function registerTwigModules()
	{
		$twig = \Config::get('twigbridge::extensions');

		$twig[] = 'Lablog\Lablog\Twig\PaginationLoader';
		$twig[] = 'Lablog\Lablog\Twig\PostLoader';
		$twig[] = 'Lablog\Lablog\Twig\PageLoader';
		$twig[] = 'Lablog\Lablog\Twig\CategoryLoader';
		$twig[] = 'Lablog\Lablog\Twig\CountLoader';

		\Config::set('twigbridge::extensions', $twig);
	}
public function registerTwigModules()
	{
		$twig = \Config::get('twigbridge::extensions');

		$twig[] = 'Lablog\Lablog\Twig\PaginationLoader';
		$twig[] = 'Lablog\Lablog\Twig\PostLoader';
		$twig[] = 'Lablog\Lablog\Twig\PageLoader';
		$twig[] = 'Lablog\Lablog\Twig\CategoryLoader';
		$twig[] = 'Lablog\Lablog\Twig\CountLoader';

		\Config::set('twigbridge::extensions', $twig);
	}
public function registerTwigModules ( ) { $ twig = \ Config :: get ( 'twigbridge::extensions' ) ; $ twig [ ] = 'Lablog\Lablog\Twig\PaginationLoader' ; $ twig [ ] = 'Lablog\Lablog\Twig\PostLoader' ; $ twig [ ] = 'Lablog\Lablog\Twig\PageLoader' ; $ twig [ ] = 'Lablog\Lablog\Twig\CategoryLoader' ; $ twig [ ] = 'Lablog\Lablog\Twig\CountLoader' ; \ Config :: set ( 'twigbridge::extensions' , $ twig ) ; }
Register twig modules.
@return void
Register twig modules .