Back to FormBehaviorTrait class

Method getFormFactory

public \Joomla\CMS\Form\FormFactoryInterface
getFormFactory
()
Get the FormFactoryInterface.
Returns
  • \Joomla\CMS\Form\FormFactoryInterface
Since
  • 4.0.0
-
  • \UnexpectedValueException May be thrown if the FormFactory has not been set.

Method getFormFactory - Source code

/**
 * Get the FormFactoryInterface.
 *
 * @return  FormFactoryInterface
 *
 * @since   4.0.0
 * @throws  \UnexpectedValueException May be thrown if the FormFactory has not been set.
 */
public abstract function getFormFactory() : FormFactoryInterface;