public function setMaxRuntime($maxRuntime)
    {
        if (! is_numeric($maxRuntime)) {
            throw new InvalidArgumentException(
                'Expected numeric $$maxRuntime argument'
            );
        }

        $this->maxRuntime = (int) $maxRuntime;
        return $this;
    }