* @copyright Copyright (c) 2013 - 2018, TechFuze. (http://techfuze.net) */ class LayoutLoadEvent extends Event { /** * The directory of the layout to be loaded. * * @var string */ public $directory; /** * The file of the layout to be loaded. * * @var string */ public $file; /** * The engine the file will be loaded with. * * @var object */ public $engine; /** * The assigned variables to the template. * * @var array */ public $assigned_variables; public function init($file, $directory, $engine, $assigned_variables) { $this->file = $file; $this->directory = $directory; $this->engine = $engine; $this->assigned_variables = $assigned_variables; } }