Back to Joomla project (class list)

Class MVCFactoryServiceTrait - list of methods

Defines the trait for a MVC factory service class.
Package: Joomla\CMS\MVC\Factory
Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/MVC/Factory/MVCFactoryServiceTrait.php
Project: Joomla

Method Summary

public \Joomla\CMS\MVC\Factory\MVCFactoryInterface
()

Get the factory.
Returns
  • \Joomla\CMS\MVC\Factory\MVCFactoryInterface
Since
  • 4.0.0
-
  • \UnexpectedValueException May be thrown if the factory has not been set.
Show source code of this method: getMVCFactory Source Code

public void
(\Joomla\CMS\MVC\Factory\MVCFactoryInterface $mvcFactory)

The MVC Factory.
Parameters
  • \Joomla\CMS\MVC\Factory\MVCFactoryInterface $mvcFactory The factory
Returns
  • void
Since
  • 4.0.0
Show source code of this method: setMVCFactory Source Code

Properties Summary

private \Joomla\CMS\MVC\Factory\MVCFactoryInterface
$mvcFactory
The MVC Factory.

Tags Summary

Since
4.0.0