Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita093f3a

Browse files
committed
document property info exclude static properties
1 parent1effc0a commita093f3a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎components/property_info.rst‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,17 @@ constructor. It supports return and scalar types for PHP 7.
409409
// Initializable information
410410
$reflectionExtractor->isInitializable($class, $property);
411411
412+
..tip::
413+
414+
By default, the static properties are also extracted. To excluded them,
415+
you can use the ``exclude_static_properties`` context option.
416+
417+
..code-block::php
418+
419+
$reflectionExtractor->getProperties($class, [
420+
ReflectionExtractor::EXCLUDE_STATIC_PROPERTIES => true,
421+
]);
422+
412423
PhpDocExtractor
413424
~~~~~~~~~~~~~~~
414425

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp