Task/FilterTask.php
public function execute(ProcessState $state)
    {
        $input = $state->getInput();
        if (!$this->checkCondition($input, $this->getOptions($state))) {
            $state->setSkipped(true);

            return;
        }

        $state->setOutput($input);
    }
public function execute(ProcessState $state)
    {
        $input = $state->getInput();
        if (!$this->checkCondition($input, $this->getOptions($state))) {
            $state->setSkipped(true);

            return;
        }

        $state->setOutput($input);
    }
{@inheritDoc}

@throws \Symfony\Component\OptionsResolver\Exception\ExceptionInterface
@throws \Symfony\Component\PropertyAccess\Exception\UnexpectedTypeException
@throws \Symfony\Component\PropertyAccess\Exception\InvalidArgumentException
@throws \Symfony\Component\PropertyAccess\Exception\AccessException
@throws \InvalidArgumentException