$_config $_config : \Horde\Refactor\Horde\Refactor\Config\Base Rule configuration. Type \Horde\Refactor\Horde\Refactor\Config\Base
$_tokens $_tokens : \Horde\Refactor\Horde\Refactor\Tokens Current list of tokens. Type \Horde\Refactor\Horde\Refactor\Tokens
__construct() __construct(string $file, \Horde\Refactor\Horde\Refactor\Config\Base $config) Constructor. Parameters string $file Name of the file to parse and refactor. \Horde\Refactor\Horde\Refactor\Config\Base $config The rule configuration.
run() run() Applies the actual refactoring to the tokenized code. Throws \Horde\Refactor\Exception\StopProcessing on unrecoverable error.