public function set(string $name, $value = null) : void
    {
        Arr::set($this->registry, $name, $value);
    }
public function set(string $name, $value = null) : void
    {
        Arr::set($this->registry, $name, $value);
    }
public function set ( string $ name , $ value = null ) : void { Arr :: set ( $ this -> registry , $ name , $ value ) ; }
Registers a given value under a given name.

@param  string $name  The name of the value to store.
@param  mixed  $value The value that needs to be stored.
@return void
Registers a given value under a given name .