Back to RouterView class

Method getRules

public \Joomla\CMS\Component\Router\Rules\RulesInterface[]
getRules
()
Get all currently attached rules
Returns
  • \Joomla\CMS\Component\Router\Rules\RulesInterface[] All currently attached rules in an array
Since
  • 3.5
Class: RouterView
Project: Joomla

Method getRules - Source code

/**
 * Get all currently attached rules
 *
 * @return  RulesInterface[]  All currently attached rules in an array
 *
 * @since   3.5
 */
public function getRules()
{
    return $this->rules;
}