<?php
/**
* Container.php - Trait for Utils classes
*
* Make functions of the utils classes available to Jaxon classes.
*
* @package jaxon-core
* @author Thierry Feuzeu <thierry.feuzeu@gmail.com>
* @copyright 2016 Thierry Feuzeu <thierry.feuzeu@gmail.com>
* @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
* @link https://github.com/jaxon-php/jaxon-core
*/
namespace Jaxon\Features;
trait Manager
{
/**
* Get the plugin manager
*
* @return \Jaxon\Plugin\Manager
*/
public function getPluginManager()
{
return jaxon()->di()->getPluginManager();
}
/**
* Get the response manager
*
* @return \Jaxon\Response\Manager
*/
public function getResponseManager()
{
return jaxon()->di()->getResponseManager();
}
}
|