array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'class.reflectionmethod.php', 1 => 'ReflectionMethod', ), 'up' => array ( 0 => 'book.reflection.php', 1 => 'Reflection', ), 'prev' => array ( 0 => 'reflectionfunctionabstract.tostring.php', 1 => 'ReflectionFunctionAbstract::__toString', ), 'next' => array ( 0 => 'reflectionmethod.construct.php', 1 => 'ReflectionMethod::__construct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'tr', 'path' => 'reference/reflection/reflectionmethod.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.reflectionmethod.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
ReflectionMethod sınıfı bir yöntem hakkında bilgi edinilmesini sağlar.
Yöntemin ismi.
Sınıfın ismi
ReflectionMethod::IS_STATIC
Yöntemin statik olduğunu belirtir.
PHP 7.4.0 öncesinde, bu değer 1
idi.
ReflectionMethod::IS_PUBLIC
Yöntemin public olduğunu belirtir.
PHP 7.4.0 öncesinde, bu değer 256
idi.
ReflectionMethod::IS_PROTECTED
Yöntemin protected olduğunu belirtir.
PHP 7.4.0 öncesinde, bu değer 512
idi.
ReflectionMethod::IS_PRIVATE
Yöntemin private olduğunu belirtir.
PHP 7.4.0 öncesinde, bu değer 1024
idi.
ReflectionMethod::IS_ABSTRACT
Yöntemin abstract olduğunu belirtir.
PHP 7.4.0 öncesinde, bu değer 2
idi.
ReflectionMethod::IS_FINAL
Yöntemin bir final olduğunu belirtir.
PHP 7.4.0 öncesinde, bu değer 4
idi.
Bilginize:
Sabitlerin değerleri PHP sürümleri arasında farklılık gösterebilir. Bu bakımdan sabitler değerleriyle değil isimleriyle kullanılmalıdır.
Sürüm: | Açıklama |
---|---|
8.0.0 | ReflectionMethod::export() kaldırıldı. |