<?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 => 'ja',
  ),
  'this' => 
  array (
    0 => 'class.reflector.php',
    1 => 'Reflector',
    2 => 'Reflector インターフェイス',
  ),
  'up' => 
  array (
    0 => 'book.reflection.php',
    1 => 'リフレクション',
  ),
  'prev' => 
  array (
    0 => 'reflectionattribute.newinstance.php',
    1 => 'ReflectionAttribute::newInstance',
  ),
  'next' => 
  array (
    0 => 'reflector.export.php',
    1 => 'Reflector::export',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/reflection/reflector.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.reflector.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

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

 <h1 class="title">Reflector インターフェイス</h1>
 

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


  <div class="section" id="reflector.intro">
   <h2 class="title">はじめに</h2>
   <p class="para">
    <span class="classname"><strong class="classname">Reflector</strong></span> は、
    すべてのエクスポート可能なリフレクションクラスが実装しているインターフェイスです。
   </p>
  </div>


  <div class="section" id="reflector.synopsis">
   <h2 class="title">インターフェイス概要</h2>


   <div class="classsynopsis"><div class="classsynopsisinfo">
    
     <span class="modifier">interface</span> <strong class="interfacename"><strong class="interfacename">Reflector</strong></strong>

    <span class="modifier">extends</span>
      <a href="class.stringable.php" class="interfacename">Stringable</a> {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 継承したメソッド */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><a href="stringable.tostring.php" class="methodname">Stringable::__toString</a></span>(): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

   }</div>


  </div>

  <div class="section">
   <h2 class="title">変更履歴</h2>
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>バージョン</th>
       <th>説明</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.0.0</td>
       <td>
        <span class="methodname"><a href="reflector.export.php" class="methodname">Reflector::export()</a></span> は、削除されました。
       </td>
      </tr>

      <tr>
       <td>8.0.0</td>
       <td>
        <span class="classname"><strong class="classname">Reflector</strong></span> は、
        <span class="interfacename"><a href="class.stringable.php" class="interfacename">Stringable</a></span> を継承するようになりました。
        これによって <span class="methodname"><strong>Reflector::__toString()</strong></span> を置き換える形で、
        <span class="methodname"><a href="stringable.tostring.php" class="methodname">Stringable::__toString()</a></span> が継承されるようになりました。
       </td>
      </tr>

     </tbody>
    
   </table>

  </div>

  <div class="section">
   <h2 class="title">参考</h2>
   <p class="para">
    <ul class="simplelist">
     <li><span class="methodname"><a href="reflector.export.php" class="methodname">Reflector::export()</a></span></li>
    </ul>
   </p>
  </div>
 </div>
 









<h2>目次</h2><ul class="chunklist chunklist_reference"><li><a href="reflector.export.php">Reflector::export</a> — エクスポートする</li></ul>
</div>
<?php manual_footer($setup); ?>