1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-29 09:47:36 +01:00

Add doc blocks

This commit is contained in:
Oliver Vogel 2024-05-10 10:33:52 +02:00
parent a086989cc9
commit 946cf79f17
No known key found for this signature in database
GPG Key ID: 1B19D214C02D69BB

View File

@ -19,6 +19,7 @@ final class ImageManager implements ImageManagerInterface
/**
* @link https://image.intervention.io/v3/basics/image-manager#create-a-new-image-manager-instance
* @param string|DriverInterface $driver
* @param mixed $options
*/
public function __construct(string|DriverInterface $driver, mixed ...$options)
{
@ -30,6 +31,7 @@ final class ImageManager implements ImageManagerInterface
*
* @link https://image.intervention.io/v3/basics/image-manager
* @param string|DriverInterface $driver
* @param mixed $options
* @return ImageManager
*/
public static function withDriver(string|DriverInterface $driver, mixed ...$options): self
@ -113,6 +115,7 @@ final class ImageManager implements ImageManagerInterface
* Return driver object
*
* @param string|DriverInterface $driver
* @param mixed $options
* @return DriverInterface
*/
private static function resolveDriver(string|DriverInterface $driver, mixed ...$options): DriverInterface