PHP Classes

File: src/Features/Manager.php

Recommend this page to a friend!
  Classes of Thierry Feuzeu   Jaxon   src/Features/Manager.php   Download  
File: src/Features/Manager.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Jaxon
Call PHP classes from JavaScript using AJAX
Author: By
Last change:
Date: 4 years ago
Size: 832 bytes
 

Contents

Class file image Download
<?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();
    }
}