<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.reflection.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'class.reflectiongenerator.php',
    1 => 'ReflectionGenerator',
    2 => 'The ReflectionGenerator class',
  ),
  'up' => 
  array (
    0 => 'book.reflection.php',
    1 => 'Reflection',
  ),
  'prev' => 
  array (
    0 => 'reflectionuniontype.gettypes.php',
    1 => 'ReflectionUnionType::getTypes',
  ),
  'next' => 
  array (
    0 => 'reflectiongenerator.construct.php',
    1 => 'ReflectionGenerator::__construct',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/reflection/reflectiongenerator.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.reflectiongenerator.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.reflectiongenerator" class="reference">

 <h1 class="title">The ReflectionGenerator class</h1>
 

 <div class="partintro"><p class="verinfo">(PHP 7, PHP 8)</p>


  <div class="section" id="reflectiongenerator.intro">
   <h2 class="title">Introduzione</h2>
   <p class="para">
    The <span class="classname"><strong class="classname">ReflectionGenerator</strong></span> class reports
    information about a generator.
   </p>
  </div>


  <div class="section" id="reflectiongenerator.synopsis">
   <h2 class="title">Sommario della classe</h2>


   <div class="classsynopsis"><div class="classsynopsisinfo">
    
     <span class="modifier">final</span>
     <span class="modifier">class</span> <strong class="classname"><strong class="classname">ReflectionGenerator</strong></strong>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Metodi */</div>
    <div class="constructorsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><a href="reflectiongenerator.construct.php" class="methodname">__construct</a></span>(<span class="methodparam"><span class="type"><a href="class.generator.php" class="type Generator">Generator</a></span> <code class="parameter">$generator</code></span>)</div>

    <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectiongenerator.getexecutingfile.php" class="methodname">getExecutingFile</a></span>(): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectiongenerator.getexecutinggenerator.php" class="methodname">getExecutingGenerator</a></span>(): <span class="type"><a href="class.generator.php" class="type Generator">Generator</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectiongenerator.getexecutingline.php" class="methodname">getExecutingLine</a></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectiongenerator.getfunction.php" class="methodname">getFunction</a></span>(): <span class="type"><a href="class.reflectionfunctionabstract.php" class="type ReflectionFunctionAbstract">ReflectionFunctionAbstract</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectiongenerator.getthis.php" class="methodname">getThis</a></span>(): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.object.php" class="type object">object</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectiongenerator.gettrace.php" class="methodname">getTrace</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$options</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.debug-backtrace-provide-object">DEBUG_BACKTRACE_PROVIDE_OBJECT</a></code></strong></span></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectiongenerator.isclosed.php" class="methodname">isClosed</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

   }</div>

  </div>

  <div class="section">
   <h2 class="title">Log delle modifiche</h2>
   <p class="para">
    <table class="doctable informaltable">
     
      <thead>
       <tr>
        <th>Versione</th>
        <th>Descrizione</th>
       </tr>

      </thead>

      <tbody class="tbody">
       <tr>
        <td>8.0.0</td>
        <td>
         The class is <span class="modifier">final</span> now.
        </td>
       </tr>

      </tbody>
     
    </table>

   </p>
  </div>

 </div>

 








































<h2>Indice dei contenuti</h2><ul class="chunklist chunklist_reference"><li><a href="reflectiongenerator.construct.php">ReflectionGenerator::__construct</a> — Constructs a ReflectionGenerator object</li><li><a href="reflectiongenerator.getexecutingfile.php">ReflectionGenerator::getExecutingFile</a> — Gets the file name of the currently executing generator</li><li><a href="reflectiongenerator.getexecutinggenerator.php">ReflectionGenerator::getExecutingGenerator</a> — Gets the executing Generator object</li><li><a href="reflectiongenerator.getexecutingline.php">ReflectionGenerator::getExecutingLine</a> — Gets the currently executing line of the generator</li><li><a href="reflectiongenerator.getfunction.php">ReflectionGenerator::getFunction</a> — Gets the function name of the generator</li><li><a href="reflectiongenerator.getthis.php">ReflectionGenerator::getThis</a> — Gets the $this value of the generator</li><li><a href="reflectiongenerator.gettrace.php">ReflectionGenerator::getTrace</a> — Gets the trace of the executing generator</li><li><a href="reflectiongenerator.isclosed.php">ReflectionGenerator::isClosed</a> — Checks if execution finished</li></ul>
</div>
<?php manual_footer($setup); ?>