Your IP : 216.73.216.224


Current Path : /var/www/html/libraries/vendor/joomla/application/src/Controller/
Upload File :
Current File : /var/www/html/libraries/vendor/joomla/application/src/Controller/ControllerResolverInterface.php

<?php

/**
 * Part of the Joomla Framework Application Package
 *
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\Application\Controller;

use Joomla\Router\ResolvedRoute;

/**
 * Interface defining a controller resolver.
 *
 * @since  2.0.0
 */
interface ControllerResolverInterface
{
    /**
     * Resolve the controller for a route
     *
     * @param   ResolvedRoute  $route  The route to resolve the controller for
     *
     * @return  callable
     *
     * @since   2.0.0
     * @throws  \InvalidArgumentException
     */
    public function resolve(ResolvedRoute $route): callable;
}