1
0
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:
Oliver Vogel
2024-01-08 10:37:18 +01:00
parent 71bb0e3449
commit 2b03a4c2a2

View File

@@ -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);