Blackfire\Player\Step::visit PHP Method

visit() public method

public visit ( $uri, $method = 'GET', $values = [] )
    public function visit($uri, $method = 'GET', $values = [])
    {
        if ($this->root && !$this->uri) {
            $step = $this;
        } else {
            $step = new self(false);
            $this->next = $step;
        }
        $step->uri = $uri;
        $step->method = $method;
        $step->formValues = $values;
        return $step;
    }