Back to Joomla project (class list)

Class FormFactoryAwareTrait - list of methods

Defines the trait for a FormFactoryInterface Aware Class.
Package: Joomla\CMS\Form
Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Form/FormFactoryAwareTrait.php
Project: Joomla

Method Summary

public \Joomla\CMS\Form\FormFactoryInterface
()

Get the FormFactoryInterface.
Returns
  • \Joomla\CMS\Form\FormFactoryInterface
Since
  • 4.0.0
-
  • \UnexpectedValueException May be thrown if the FormFactory has not been set.
Show source code of this method: getFormFactory Source Code

public $this
(\Joomla\CMS\Form\FormFactoryInterface $formFactory = null)

Set the form factory to use.
Parameters
  • \Joomla\CMS\Form\FormFactoryInterface $formFactory The form factory to use.
Returns
  • $this
Since
  • 4.0.0
Show source code of this method: setFormFactory Source Code

Properties Summary

private \Joomla\CMS\Form\FormFactoryInterface
$formFactory
FormFactoryInterface
Since
  • 4.0.0

Tags Summary

Since
4.0.0