1 | <?php |
||
26 | class BoxMethods |
||
27 | { |
||
28 | |||
29 | /** |
||
30 | * The box primitive defines boxes (i.e., any quadilateral, not just cubes). |
||
31 | */ |
||
32 | const DEFAULTS = array( |
||
33 | /* Width (in meters) of the sides on the X axis. */ |
||
34 | 'width' => 1, |
||
35 | /* Height (in meters) of the sides on the Y axis. */ |
||
36 | 'height' => 1, |
||
37 | /* Depth (in meters) of the sides on the Z axis. */ |
||
38 | 'depth' => 1 |
||
39 | ); |
||
40 | |||
41 | /** |
||
42 | * Depth (in meters) of the sides on the Z axis. |
||
43 | * |
||
44 | * @param &array $dom_attributes |
||
|
|||
45 | * @param float|int $depth |
||
46 | * @return void |
||
47 | */ |
||
48 | 10 | public function depth(array &$dom_attributes, float $depth) |
|
52 | |||
53 | /** |
||
54 | * Height (in meters) of the sides on the Y axis. |
||
55 | * |
||
56 | * @param &array $dom_attributes |
||
57 | * @param float|int $height |
||
58 | * @return void |
||
59 | */ |
||
60 | 10 | public function height(array &$dom_attributes, float $height) |
|
64 | |||
65 | /** |
||
66 | * Width (in meters) of the sides on the X axis. |
||
67 | * |
||
68 | * @param &array $dom_attributes |
||
69 | * @param float|int $width |
||
70 | * @return void |
||
71 | */ |
||
72 | 10 | public function width(array &$dom_attributes, float $width) |
|
76 | } |
||
77 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.