- md5
- 20cbcb34db5dbf9bb9ce3d0f7d777dfc
- sha1
- 087794354d8230102f0320afc5dedfd93edd47dd
- sha256
- 241d7381dafda95d60ed7a477ddc5bf90971728308bf10172738cc63c78bc0b9
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
<?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
namespace Joomla\CMS\MVC\Factory;
defined('JPATH_PLATFORM') or die;
use Joomla\CMS\Application\CMSApplicationInterface;
use Joomla\Input\Input;
/**
* Factory to create MVC objects.
*
* @since 4.0.0
*/
interface MVCFactoryInterface
{
/**
* Method to load and return a controller object.
*
* @param string $name The name of the view.
* @param string $prefix Optional view prefix.
* @param array $config Optional configuration array for the view.
* @param CMSApplicationInterface $app The app
* @param Input $input The input
*
* @return \Joomla\CMS\MVC\Controller\ControllerInterface
*
* @since 4.0.0
* @throws \Exception
*/
public function createController($name, $prefix = '', array $config = [], CMSApplicationInterface $app = null, Input $input = null);
/**
* Method to load and return a model object.
*
* @param string $name The name of the model.
* @param string $prefix Optional model prefix.
* @param array $config Optional configuration array for the model.
*
* @return \Joomla\CMS\MVC\Model\BaseDatabaseModel The model object
*
* @since 4.0.0
* @throws \Exception
*/
public function createModel($name, $prefix = '', array $config = []);
/**
* Method to load and return a view object.
*
* @param string $name The name of the view.
* @param string $prefix Optional view prefix.
* @param string $type Optional type of view.
* @param array $config Optional configuration array for the view.
*
* @return \Joomla\CMS\MVC\View\AbstractView The view object
*
* @since 4.0.0
* @throws \Exception
*/
public function createView($name, $prefix = '', $type = '', array $config = []);
/**
* Method to load and return a table object.
*
* @param string $name The name of the table.
* @param string $prefix Optional table prefix.
* @param array $config Optional configuration array for the table.
*
* @return \Joomla\CMS\Table\Table The table object
*
* @since 4.0.0
* @throws \Exception
*/
public function createTable($name, $prefix = '', array $config = []);
}
No other release has this exact content. See every version of this file.