Skip to content

Commit c3aec2f

Browse files
committed
feat: add vector image
1 parent d0bdf0c commit c3aec2f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
namespace NotFound\Layout\Inputs;
4+
5+
class LayoutInputVectorImage extends AbstractInput
6+
{
7+
protected string $type = 'InputVectorImage';
8+
9+
protected ?object $value = null;
10+
11+
public function setValue($value): self
12+
{
13+
if (! is_object($value)) {
14+
$this->abortLogSetValueError('LayoutInputVectorImage', 'object', $value);
15+
}
16+
$this->value = $value;
17+
18+
return $this;
19+
}
20+
}

0 commit comments

Comments
 (0)