<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.componere-patch.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'componere-patch.getclosure.php',
    1 => 'Componere\\Patch::getClosure',
    2 => 'Obt&eacute;m Closure',
  ),
  'up' => 
  array (
    0 => 'class.componere-patch.php',
    1 => 'Componere\\Patch',
  ),
  'prev' => 
  array (
    0 => 'componere-patch.derive.php',
    1 => 'Componere\\Patch::derive',
  ),
  'next' => 
  array (
    0 => 'componere-patch.getclosures.php',
    1 => 'Componere\\Patch::getClosures',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'pt_BR',
    'path' => 'reference/componere/componere/patch/getclosure.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="componere-patch.getclosure" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Componere\Patch::getClosure</h1>
  <p class="verinfo">(Componere 2 &gt;= 2.1.0)</p><p class="refpurpose"><span class="refname">Componere\Patch::getClosure</span> &mdash; <span class="dc-title">Obtém Closure</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-componere-patch.getclosure-description">
  <h3 class="title">Descrição</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Componere\Patch::getClosure</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$name</code></span>): <span class="type"><a href="class.closure.php" class="type Closure">Closure</a></span></div>

  <p class="simpara">
   Retorna uma Closure para o método especificado pelo nome.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-componere-patch.getclosure-parameters">
  <h3 class="title">Parâmetros</h3>
  <dl>
   
    <dt><code class="parameter">name</code></dt>
    <dd>
     <span class="simpara">
      O nome do método, insensível a maiúsculas/minúsculas.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-componere-patch.getclosure-returnvalues">
  <h3 class="title">Valor Retornado</h3>
  <p class="simpara">
   Uma Closure vinculada ao escopo e objeto corretos.
  </p>
 </div>


 <div class="refsect1 exceptions" id="refsect1-componere-patch.getclosure-exceptions">
  <h3 class="title">Exceptions</h3>
  <div class="warning"><strong class="warning">Aviso</strong>
   <p class="simpara">
    Lança uma <span class="type"><a href="class.runtimeexception.php" class="type RuntimeException">RuntimeException</a></span> se <code class="parameter">name</code> não puder ser encontrado.
   </p>
  </div>
 </div>


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