<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.reflectionparameter.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'reflectionparameter.getclass.php',
    1 => 'ReflectionParameter::getClass',
    2 => 'Yansıtılan bağımsız değişkenin ReflectionClass &ouml;rneğini d&ouml;nd&uuml;r&uuml;r',
  ),
  'up' => 
  array (
    0 => 'class.reflectionparameter.php',
    1 => 'ReflectionParameter',
  ),
  'prev' => 
  array (
    0 => 'reflectionparameter.getattributes.php',
    1 => 'ReflectionParameter::getAttributes',
  ),
  'next' => 
  array (
    0 => 'reflectionparameter.getdeclaringclass.php',
    1 => 'ReflectionParameter::getDeclaringClass',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/reflection/reflectionparameter/getclass.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="reflectionparameter.getclass" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ReflectionParameter::getClass</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">ReflectionParameter::getClass</span> &mdash; <span class="dc-title">Yansıtılan bağımsız değişkenin <span class="classname"><a href="class.reflectionclass.php" class="classname">ReflectionClass</a></span> örneğini döndürür</span></p>

 </div>

 <div id="reflectionparameter.getclass-refsynopsisdiv">
   <div class="warning"><strong class="warning">Uyarı</strong><p class="simpara">Bu işlevin kullanımı PHP 8.0.0
itibariyle <em>ÖNERİLMEMEKTEDİR</em>.
Bu işleve kesinlikle güvenilmemelidir.</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-reflectionparameter.getclass-description">
  <h3 class="title">Açıklama</h3>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="methodname"><strong>ReflectionParameter::getClass</strong></span>(): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="class.reflectionclass.php" class="type ReflectionClass">ReflectionClass</a></span></span></div>

  <p class="para rdfs-comment">
   Yansıtılan bağımsız değişkenin ya <span class="classname"><a href="class.reflectionclass.php" class="classname">ReflectionClass</a></span> örneğini
   ya da <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> döndürür.
  </p>
  <p class="para">
   PHP 8.0.0 itibariyle bu işlevin kullanımı önerilmemektedir. Bunun yerine,
   bağımsız değişkenin <span class="classname"><a href="class.reflectiontype.php" class="classname">ReflectionType</a></span> nesnesini almak için
   <span class="methodname"><a href="reflectionparameter.gettype.php" class="methodname">ReflectionParameter::getType()</a></span> kullanın ve bağımsız değişken
   türünü saptamak için aldığınız nesneyi sorgulayın.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-reflectionparameter.getclass-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">Bu işlevin bağımsız değişkeni yoktur.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-reflectionparameter.getclass-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Bir <span class="classname"><a href="class.reflectionclass.php" class="classname">ReflectionClass</a></span> nesnesi; tür bildirilmemişse
   veya bildirilen tür bir sınıf veya arayüz değilse <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-reflectionparameter.getclass-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Örnek 1 - <span class="classname"><a href="class.reflectionparameter.php" class="classname">ReflectionParameter</a></span> sınıfının kullanımı</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">foo</span><span style="color: #007700">(</span><span style="color: #0000BB">Exception $a</span><span style="color: #007700">) { }<br /><br /></span><span style="color: #0000BB">$functionReflection </span><span style="color: #007700">= new </span><span style="color: #0000BB">ReflectionFunction</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$parameters </span><span style="color: #007700">= </span><span style="color: #0000BB">$functionReflection</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getParameters</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">$aParameter </span><span style="color: #007700">= </span><span style="color: #0000BB">$parameters</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">];<br /><br />echo </span><span style="color: #0000BB">$aParameter</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getClass</span><span style="color: #007700">()-&gt;</span><span style="color: #0000BB">name</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-reflectionparameter.getclass-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="reflectionparameter.getdeclaringclass.php" class="methodname" rel="rdfs-seeAlso">ReflectionParameter::getDeclaringClass()</a> - Bildiren sınıfı d&ouml;nd&uuml;r&uuml;r</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>