1
0
mirror of https://github.com/Intervention/image.git synced 2025-04-11 20:42:12 +02:00

Add alias FontFactory::file()

This commit is contained in:
Oliver Vogel 2024-01-08 10:37:18 +01:00
parent 71bb0e3449
commit 2b03a4c2a2

View File

@ -29,6 +29,11 @@ class FontFactory
return $this;
}
public function file(string $value): self
{
return $this->filename($value);
}
public function color(mixed $value): self
{
$this->font->setColor($value);