mirror of
https://github.com/Intervention/image.git
synced 2025-08-12 00:43:59 +02:00
Add alias FontFactory::file()
This commit is contained in:
@@ -29,6 +29,11 @@ class FontFactory
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function file(string $value): self
|
||||||
|
{
|
||||||
|
return $this->filename($value);
|
||||||
|
}
|
||||||
|
|
||||||
public function color(mixed $value): self
|
public function color(mixed $value): self
|
||||||
{
|
{
|
||||||
$this->font->setColor($value);
|
$this->font->setColor($value);
|
||||||
|
Reference in New Issue
Block a user