Skip to content

Commit

Permalink
Merge pull request #252 from plank/facade-phpdoc
Browse files Browse the repository at this point in the history
cleanup facade PHPDOC
  • Loading branch information
frasmage committed Apr 30, 2021
2 parents 8a0f341 + 5046b27 commit c26f8b3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/Facades/ImageManipulator.php
Expand Up @@ -10,7 +10,7 @@
* @method static defineVariant(string $variantName, ImageManipulation $manipulation)
* @method static bool hasVariantDefinition(string $variantName)
* @method static ImageManipulation getVariantDefinition(string $variantName)
* @method static Media createImageVariant(Media $media, string $variantName)
* @method static Media createImageVariant(Media $media, string $variantName, bool $forceRecreate = false)
* @method static validateMedia(Media $media)
*/
class ImageManipulator extends Facade
Expand Down
39 changes: 21 additions & 18 deletions src/Facades/MediaUploader.php
Expand Up @@ -12,35 +12,38 @@
*
* @method static Uploader fromSource(mixed $source)
* @method static Uploader fromString(string $source)
* @method static Uploader toDestination($disk, $directory)
* @method static Uploader toDisk($disk)
* @method static Uploader toDirectory($directory)
* @method static Uploader useFilename($filename)
* @method static Uploader toDestination(string $disk, string $directory)
* @method static Uploader toDisk(string $disk)
* @method static Uploader toDirectory(string $directory)
* @method static Uploader useFilename(string $filename)
* @method static Uploader useHashForFilename()
* @method static Uploader useOriginalFilename()
* @method static Uploader setModelClass($class)
* @method static Uploader setMaximumSize($size)
* @method static Uploader setOnDuplicateBehavior($behavior)
* @method static Uploader setModelClass(string $class)
* @method static Uploader setMaximumSize(int $size)
* @method static Uploader setOnDuplicateBehavior(string $behavior)
* @method static string getOnDuplicateBehavior()
* @method static Uploader onDuplicateError()
* @method static Uploader onDuplicateIncrement()
* @method static Uploader onDuplicateReplace()
* @method static Uploader onDuplicateReplaceWithVariants()
* @method static Uploader onDuplicateUpdate()
* @method static Uploader setStrictTypeChecking($strict)
* @method static Uploader setAllowUnrecognizedTypes($allow)
* @method static Uploader setTypeDefinition($type, $mime_types, $extensions)
* @method static Uploader setAllowedMimeTypes($allowed_mimes)
* @method static Uploader setAllowedExtensions($allowed_extensions)
* @method static Uploader setAllowedAggregateTypes($allowed_types)
* @method static string inferAggregateType($mime_type, $extension)
* @method static string[] possibleAggregateTypesForMimeType($mime)
* @method static string[] possibleAggregateTypesForExtension($extension)
* @method static Uploader setStrictTypeChecking(bool $strict)
* @method static Uploader setAllowUnrecognizedTypes(bool $allow)
* @method static Uploader setTypeDefinition(string $type, array $mime_types, array $extensions)
* @method static Uploader setAllowedMimeTypes(array $allowed_mimes)
* @method static Uploader setAllowedExtensions(array $allowed_extensions)
* @method static Uploader setAllowedAggregateTypes(array $allowed_types)
* @method static Uploader makePublic()
* @method static Uploader makePrivate()
* @method static string inferAggregateType(string $mime_type, string $extension)
* @method static string[] possibleAggregateTypesForMimeType(string $mime)
* @method static string[] possibleAggregateTypesForExtension(string $extension)
* @method static Media upload()
* @method static Media replace(Media $media)
* @method static Media populateModel(Media $model)
* @method static Uploader beforeSave(callable $callable)
* @method static Media importPath($disk, $path)
* @method static Media import($disk, $directory, $filename, $extension)
* @method static Media importPath(string $disk, string $path)
* @method static Media import(string $disk, string $directory, string $filename, string $extension)
* @method static bool update(Media $media)
* @method static void verifyFile()
*/
Expand Down

0 comments on commit c26f8b3

Please sign in to comment.