src/ItemCollectors/RouterGlobalsCollector.php
public function mixin(string $name, callable $callback): self
    {
        $this->data->mixin($name, $callback);
        return $this;
    }
public function mixin(string $name, callable $callback): self
    {
        $this->data->mixin($name, $callback);
        return $this;
    }
public function mixin ( string $ name , callable $ callback ) : self { $ this -> data -> mixin ( $ name , $ callback ) ; return $ this ; }
Set a global mixin

@param string $name
@param callable $callback
@return $this
Set a global mixin