Cake\Upgrade\Shell\Task\ChangeTrait::process PHP Method

process() public method

process
public process ( string $path ) : void
$path string
return void
    public function process($path)
    {
        if (!$this->_shouldProcess($path)) {
            $this->out('<info>skipping</info>', 1, Shell::VERBOSE);
            return false;
        }
        $return = $this->_process($path);
        if ($return) {
            $this->out('<warning>updated</warning>', 1, Shell::VERBOSE);
        } else {
            $this->out('<info>no change</info>', 1, Shell::VERBOSE);
        }
        return $return;
    }