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

@param   string $name The name of the binding
@param   callable $callback A callback that will return the binding's value

@return  $this
Defines a global binding