Back to InstallerAdapter class

Method setRoute

public \Joomla\CMS\Installer\InstallerAdapter
setRoute
(mixed $route)
Set the install route being followed
Parameters
  • string $route The install route being followed
Returns
  • \Joomla\CMS\Installer\InstallerAdapter Instance of this class to support chaining
Since
  • 3.4

Method setRoute - Source code

/**
 * Set the install route being followed
 *
 * @param   string  $route  The install route being followed
 *
 * @return  InstallerAdapter  Instance of this class to support chaining
 *
 * @since   3.4
 */
public function setRoute($route)
{
    $this->route = $route;
    return $this;
}