File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -94,8 +94,6 @@ $copyAction->fileName = "/tmp/foo.jpg";
9494$copyAction->targetDirectory = "/home/user";
9595
9696executeAction($copyAction);
97-
98- ?>
9997]]>
10098 </programlisting >
10199 </example >
@@ -164,8 +162,6 @@ class Thing {}
164162
165163#[MyAttribute(1234), MyAttribute(5678)]
166164class AnotherThing {}
167-
168- ?>
169165]]>
170166 </programlisting >
171167 </example >
@@ -263,8 +259,6 @@ function dumpMyAttributeData($reflection)
263259}
264260
265261dumpMyAttributeData(new ReflectionClass(Thing::class));
266-
267- ?>
268262]]>
269263 </programlisting >
270264 </example >
@@ -292,8 +286,6 @@ use Attribute;
292286
293287#[Attribute]
294288class MyAttribute {}
295-
296- ?>
297289]]>
298290 </programlisting >
299291 </example >
@@ -317,8 +309,6 @@ use Attribute;
317309
318310#[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_FUNCTION)]
319311class MyAttribute {}
320-
321- ?>
322312]]>
323313 </programlisting >
324314
@@ -350,7 +340,7 @@ class MyAttribute {}
350340
351341 <example >
352342 <title >
353- Пример с константой IS_REPEATABL , которая разрешит назначать атрибут многократно
343+ Пример с константой IS_REPEATABLE , которая разрешит назначать атрибут многократно
354344 </title >
355345
356346 <programlisting role =" php" >
@@ -362,9 +352,7 @@ namespace Example;
362352use Attribute;
363353
364354#[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_FUNCTION | Attribute::IS_REPEATABLE)]
365- class MyAttribute
366- {
367- }
355+ class MyAttribute {}
368356]]>
369357 </programlisting >
370358
You can’t perform that action at this time.
0 commit comments