Last active
April 8, 2021 20:35
-
-
Save rummykhan/3bb73187df5d81c6489c9c71dfa9f677 to your computer and use it in GitHub Desktop.
Generic Image Aware Interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Models\ImageAware; | |
interface ImageAwareInterface | |
{ | |
public function saveImage($file, $attribute = 'image', $disk = 'local'); | |
public function getImageUrl($attribute = 'image', $default = null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment