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:
parent
71bb0e3449
commit
2b03a4c2a2
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user