Back to Patcher class

Method reset

public \Joomla\CMS\Filesystem\Patcher
reset
()
Reset the patcher
Returns
  • \Joomla\CMS\Filesystem\Patcher This object for chaining
Since
  • 3.0.0
Class: Patcher
Project: Joomla

Method reset - Source code

/**
 * Reset the patcher
 *
 * @return  Patcher  This object for chaining
 *
 * @since   3.0.0
 */
public function reset()
{
    $this->sources = array();
    $this->destinations = array();
    $this->removals = array();
    $this->patches = array();
    return $this;
}