File tree Expand file tree Collapse file tree 2 files changed +29
-3
lines changed Expand file tree Collapse file tree 2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ Class DFFIReferenceValue
1111
1212#### Methods
1313
14- - ` -> ` [ ` __construct() ` ] ( #method-__construct ) - _ DFFIReferenceValue constructor. _
14+ - ` -> ` [ ` __construct() ` ] ( #method-__construct ) - _ Конструктор с выделением памяти _
1515- ` -> ` [ ` setValue() ` ] ( #method-setvalue )
1616- ` -> ` [ ` getValue() ` ] ( #method-getvalue )
17+ - ` -> ` [ ` getNativeString() ` ] ( #method-getnativestring )
1718
1819---
1920# Methods
@@ -22,9 +23,9 @@ Class DFFIReferenceValue
2223
2324### __ construct()
2425``` php
25- __construct(string $type, string $value ): void
26+ __construct(string $type, int $size ): void
2627```
27- DFFIReferenceValue constructor.
28+ Конструктор с выделением памяти
2829
2930---
3031
@@ -42,4 +43,13 @@ setValue(string $value): void
4243### getValue()
4344``` php
4445getValue(): any
46+ ```
47+
48+ ---
49+
50+ <a name =" method-getnativestring " ></a >
51+
52+ ### getNativeString()
53+ ``` php
54+ getNativeString(): string
4555```
Original file line number Diff line number Diff line change @@ -24,6 +24,15 @@ public function __construct($type)
2424 public function __construct ($ type , $ value )
2525 {
2626 }
27+
28+ /**
29+ * Конструктор с выделением памяти
30+ * @param string $type
31+ * @param int $size
32+ */
33+ public function __construct ($ type , $ size )
34+ {
35+ }
2736
2837 /**
2938 * @param string $value
@@ -39,4 +48,11 @@ public function setValue($value)
3948 public function getValue ()
4049 {
4150 }
51+
52+ /**
53+ * @return string
54+ */
55+ public function getNativeString ()
56+ {
57+ }
4258}
You can’t perform that action at this time.
0 commit comments