/**
* Setter method for the plugin property.
*
* @return Enlight_Controller_Front
*/
public function setPlugins(?Enlight_Plugin_Namespace
$plugins = null
) { if ($plugins === null
) { $plugins =
new Enlight_Plugin_Namespace_Loader('Controller'
);
$plugins->
addPrefixPath('Enlight_Controller_Plugins', __DIR__ . DIRECTORY_SEPARATOR . 'Plugins'
);
} $this->plugins =
$plugins;
return $this;
} /**
* Setter method for the router. Sets the front controller instance
* automatically in the given router.
*
* @param class-string<Enlight_Controller_Router>|Enlight_Controller_Router $router
*
* @throws Enlight_Exception
*
* @return Enlight_Controller_Front
*/