src/RawPHP/RawContainer/Container.php
public function rebinding( $abstract, Closure $callback )
    {
        $this->reboundCallbacks[ $abstract ][ ] = $callback;

        if ( $this->bound( $abstract ) )
        {
            return $this->make( $abstract );
        }

        return $this;
    }
public function rebinding( $abstract, Closure $callback )
    {
        $this->reboundCallbacks[ $abstract ][ ] = $callback;

        if ( $this->bound( $abstract ) )
        {
            return $this->make( $abstract );
        }

        return $this;
    }
Bind a new callback to an abstract's rebind event.

@param  string  $abstract
@param  Closure $callback

@return mixed