| 
<?php
 /**
 * Container.php - Trait for Utils classes
 *
 * Make functions of the utils classes available to Jaxon classes.
 *
 * @package jaxon-core
 * @author Thierry Feuzeu <[email protected]>
 * @copyright 2016 Thierry Feuzeu <[email protected]>
 * @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();
 }
 }
 
 |