Method |
Description |
|
getCustomProperty ( string $propertyName, mixed $default = null ) : mixed |
Get if the value of custom property with the given name. |
|
getDiskDriverName ( ) : string |
|
|
getExtensionAttribute ( ) : string |
|
|
getHumanReadableSizeAttribute ( ) : string |
|
|
getImageGenerators ( ) : Collection |
Collection of all ImageGenerator drivers. |
|
getMediaConversionNames ( ) : array |
*
Get all the names of the registered media conversions. |
|
getMimeAttribute ( ) : string |
|
|
getPath ( string $conversionName = '' ) : string |
Get the original path to a media-file. |
|
getTypeAttribute ( ) : string |
Determine the type of a file. |
|
getTypeFromExtensionAttribute ( ) : string |
Determine the type of a file from its file extension. |
|
getTypeFromMimeAttribute ( ) : string |
*
Determine the type of a file from its mime type |
|
getUrl ( string $conversionName = '' ) : string |
Get the original Url to a media-file. |
|
hasCustomProperty ( string $propertyName ) : boolean |
*
Determine if the media item has a custom property with the given name. |
|
model ( ) : Illuminate\Database\Eloquent\Relations\MorphTo |
Create the polymorphic relation. |
|
removeCustomProperty ( string $name ) |
|
|
setCustomProperty ( string $name, mixed $value ) |
|
|