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:
parent
a086989cc9
commit
946cf79f17
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user