protected function parseCommandArguments()
    {
        $this->path = $this->argument('path');

        if ($this->option('delay')) {
            if (false === ($this->delay = filter_var($this->option('delay'), FILTER_VALIDATE_INT, ['options' => ['min_range' => 0]]))) {
                throw new \InvalidArgumentException('Delay should be a positive integer or 0.');
            }
        }

        if ($this->option('ttr')) {
            if (false === ($this->ttr = filter_var($this->option('ttr'), FILTER_VALIDATE_INT, ['options' => ['min_range' => 1]]))) {
                throw new \InvalidArgumentException('TTR should be a positive integer.');
            }
        }

        if ($this->option('priority')) {
            if (false === ($this->priority = filter_var($this->option('priority'), FILTER_VALIDATE_INT, ['options' => ['min_range' => 0]]))) {
                throw new \InvalidArgumentException('Priority should be a positive integer or 0.');
            }
        }
    }
protected function parseCommandArguments()
    {
        $this->path = $this->argument('path');

        if ($this->option('delay')) {
            if (false === ($this->delay = filter_var($this->option('delay'), FILTER_VALIDATE_INT, ['options' => ['min_range' => 0]]))) {
                throw new \InvalidArgumentException('Delay should be a positive integer or 0.');
            }
        }

        if ($this->option('ttr')) {
            if (false === ($this->ttr = filter_var($this->option('ttr'), FILTER_VALIDATE_INT, ['options' => ['min_range' => 1]]))) {
                throw new \InvalidArgumentException('TTR should be a positive integer.');
            }
        }

        if ($this->option('priority')) {
            if (false === ($this->priority = filter_var($this->option('priority'), FILTER_VALIDATE_INT, ['options' => ['min_range' => 0]]))) {
                throw new \InvalidArgumentException('Priority should be a positive integer or 0.');
            }
        }
    }
{@inheritdoc}