src/Resources/ResourceKeyResolver.php
public function bind($transformable, string $resourceKey)
    {
        $this->bindings = array_merge($this->bindings, is_array($transformable) ? $transformable : [
            $transformable => $resourceKey,
        ]);
    }
public function bind($transformable, string $resourceKey)
    {
        $this->bindings = array_merge($this->bindings, is_array($transformable) ? $transformable : [
            $transformable => $resourceKey,
        ]);
    }
Register a transformable to resource key binding.

@param  string|array $transformable
@param  string       $resourceKey
@return void