1 | <?php |
||
2 | /** |
||
3 | * Twigfield for Craft CMS |
||
4 | * |
||
5 | * Provides a twig editor field with Twig & Craft API autocomplete |
||
6 | * |
||
7 | * @link https://nystudio107.com |
||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
8 | * @copyright Copyright (c) 2022 nystudio107 |
||
0 ignored issues
–
show
|
|||
9 | */ |
||
0 ignored issues
–
show
|
|||
10 | |||
11 | namespace nystudio107\twigfield\base; |
||
12 | |||
13 | /** |
||
0 ignored issues
–
show
|
|||
14 | * @author nystudio107 |
||
0 ignored issues
–
show
Content of the @author tag must be in the form "Display Name <[email protected]>"
![]() |
|||
15 | * @package twigfield |
||
0 ignored issues
–
show
|
|||
16 | * @since 1.0.12 |
||
0 ignored issues
–
show
|
|||
17 | */ |
||
0 ignored issues
–
show
|
|||
18 | interface ObjectParserInterface |
||
19 | { |
||
20 | // Public Methods |
||
21 | // ========================================================================= |
||
22 | |||
23 | /** |
||
24 | * Parse the object passed in, including any properties or methods |
||
25 | * |
||
26 | * @param string $name |
||
0 ignored issues
–
show
|
|||
27 | * @param $object |
||
0 ignored issues
–
show
|
|||
28 | * @param int $recursionDepth |
||
0 ignored issues
–
show
|
|||
29 | * @param string $path |
||
0 ignored issues
–
show
|
|||
30 | */ |
||
0 ignored issues
–
show
|
|||
31 | public function parseObject(string $name, $object, int $recursionDepth, string $path = ''): void; |
||
32 | } |
||
33 |