28 lines
		
	
	
		
			588 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			588 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace Grav\Theme;
 | 
						|
 | 
						|
use Grav\Common\Theme;
 | 
						|
 | 
						|
class FISO extends Theme
 | 
						|
{
 | 
						|
    public static function getSubscribedEvents()
 | 
						|
    {
 | 
						|
        return [
 | 
						|
            'onThemeInitialized'    => ['onThemeInitialized', 0],
 | 
						|
            'onTwigLoader'          => ['onTwigLoader', 0],
 | 
						|
            'onTwigInitialized'     => ['onTwigInitialized', 0],
 | 
						|
        ];
 | 
						|
    }
 | 
						|
 | 
						|
    public function onThemeInitialized()
 | 
						|
    {
 | 
						|
        // When using Composer
 | 
						|
        //require_once __DIR__ . '/vendor/autoload.php';
 | 
						|
    }
 | 
						|
 | 
						|
    public function onTwigLoader() {}
 | 
						|
 | 
						|
    public function onTwigInitialized() {}
 | 
						|
}
 |