<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.reflectionclass.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'reflectionclass.getlazyinitializer.php',
    1 => 'ReflectionClass::getLazyInitializer',
    2 => 'レイジーイニシャライザを取得する',
  ),
  'up' => 
  array (
    0 => 'class.reflectionclass.php',
    1 => 'ReflectionClass',
  ),
  'prev' => 
  array (
    0 => 'reflectionclass.getinterfaces.php',
    1 => 'ReflectionClass::getInterfaces',
  ),
  'next' => 
  array (
    0 => 'reflectionclass.getmethod.php',
    1 => 'ReflectionClass::getMethod',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/reflection/reflectionclass/getlazyinitializer.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="reflectionclass.getlazyinitializer" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ReflectionClass::getLazyInitializer</h1>
  <p class="verinfo">(PHP 8 &gt;= 8.4.0)</p><p class="refpurpose"><span class="refname">ReflectionClass::getLazyInitializer</span> &mdash; <span class="dc-title">レイジーイニシャライザを取得する</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-reflectionclass.getlazyinitializer-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>ReflectionClass::getLazyInitializer</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.object.php" class="type object">object</a></span> <code class="parameter">$object</code></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.callable.php" class="type callable">callable</a></span></span></div>

  <p class="simpara">
   <code class="parameter">object</code>に
   アタッチされているレイジーイニシャライザまたはファクトリを取得します。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-reflectionclass.getlazyinitializer-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt><code class="parameter">object</code></dt>
    <dd>
     <span class="simpara">
      イニシャライザを取得する対象のオブジェクト。
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-reflectionclass.getlazyinitializer-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="simpara">
   オブジェクトが未初期化のレイジーオブジェクトであればイニシャライザを、
   そうでなければ <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> を返します。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-reflectionclass.getlazyinitializer-seealso">
  <h3 class="title">参考</h3>
  <ul class="simplelist">
   <li><a href="language.oop5.lazy-objects.php" class="link">レイジーオブジェクト</a></li>
   <li><span class="methodname"><a href="reflectionclass.newlazyghost.php" class="methodname" rel="rdfs-seeAlso">ReflectionClass::newLazyGhost()</a> - 新しいレイジーゴーストインスタンスを作成する</span></li>
  </ul>
 </div>


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