Matcher/Matcher.php
private function callCallbacks(int $initialState, int $endState)
    {
        if (isset($this->callbacks[$initialState][$endState]) &&
                is_callable($this->callbacks[$initialState][$endState])) {
            $this->matched = call_user_func($this->callbacks[$initialState][$endState], $this->matched);
        }
    }
private function callCallbacks(int $initialState, int $endState)
    {
        if (isset($this->callbacks[$initialState][$endState]) &&
                is_callable($this->callbacks[$initialState][$endState])) {
            $this->matched = call_user_func($this->callbacks[$initialState][$endState], $this->matched);
        }
    }
private function callCallbacks ( int $ initialState , int $ endState ) { if ( isset ( $ this -> callbacks [ $ initialState ] [ $ endState ] ) && is_callable ( $ this -> callbacks [ $ initialState ] [ $ endState ] ) ) { $ this -> matched = call_user_func ( $ this -> callbacks [ $ initialState ] [ $ endState ] , $ this -> matched ) ; } }
Calls callbacks for the given state number

@param int $stateNumber
Calls callbacks for the given state number