protected function cacheImage(ResourceSettings $image): ResourceSettings
    {
        $this->resources->add($image->key, $image);

        return $image;
    }
protected function cacheImage(ResourceSettings $image): ResourceSettings
    {
        $this->resources->add($image->key, $image);

        return $image;
    }
protected function cacheImage ( ResourceSettings $ image ) : ResourceSettings { $ this -> resources -> add ( $ image -> key , $ image ) ; return $ image ; }
Store image in the cache

@param ResourceSettings|LocalSettings $image
@return \Laranix\Themer\ResourceSettings|\Laranix\Themer\Images\LocalSettings
Store image in the cache