public function addSlot($name, Closure $closure, array $arguments)
    {
        $this->closures[$name] = $closure;
        $this->arguments[$name] = $arguments;
    }
public function addSlot($name, Closure $closure, array $arguments)
    {
        $this->closures[$name] = $closure;
        $this->arguments[$name] = $arguments;
    }
public function addSlot ( $ name , Closure $ closure , array $ arguments ) { $ this -> closures [ $ name ] = $ closure ; $ this -> arguments [ $ name ] = $ arguments ; }
Adds a closure - used to render the slot with the given name - to the
private storage in this class.

@param string $name
@param Closure $closure
@param array $arguments
Adds a closure - used to render the slot with the given name - to the private storage in this class .