1 | <?php |
||
9 | class ObjectTransformer implements Transformer |
||
10 | { |
||
11 | /** |
||
12 | * @param mixed $value |
||
13 | * |
||
14 | * @return bool |
||
15 | */ |
||
16 | public function canTransform($value): bool |
||
20 | |||
21 | /** |
||
22 | * @param mixed $value |
||
23 | * |
||
24 | * @return string |
||
25 | * |
||
26 | * @throws \Spatie\BladeJavaScript\Exceptions\Untransformable |
||
27 | */ |
||
28 | public function transform($value): string |
||
44 | } |
||
45 |