Blackfire\Player\Step::submit PHP Method

submit() public method

public submit ( $selector, array $values = [] )
$values array
    public function submit($selector, array $values = [])
    {
        if ($this->root && !$this->uri) {
            throw new LogicException(sprintf('%s() cannot be called as a first step.', __METHOD__));
        }
        $step = new self(false);
        $step->formSelector = $selector;
        $step->formValues = $values;
        $this->next = $step;
        return $step;
    }