<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>The Componere\Method class</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="componere-patch.getclosures.html">Componere\Patch::getClosures</a></div> <div class="next" style="text-align: right; float: right;"><a href="componere-method.construct.html">Componere\Method::__construct</a></div> <div class="up"><a href="book.componere.html">Componere</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="class.componere-method" class="reference"> <h1 class="title">The Componere\Method class</h1> <div class="partintro"><p class="verinfo">(Componere 2 >= 2.1.0)</p> <div class="section" id="componere-method.intro"> <h2 class="title">Introduction</h2> <p class="para"> A Method represents a function with modifiable accessibility flags </p> </div> <div class="section" id="componere-method.synopsis"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"></div> <div class="classsynopsisinfo"> <span class="ooclass"> <span class="modifier">final</span> <strong class="classname">Componere\Method</strong> </span> {</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Constructor */</div> <div class="constructorsynopsis dc-description"> <span class="modifier">public</span> <span class="methodname"><a href="componere-method.construct.html" class="methodname">__construct</a></span> ( <span class="methodparam"><span class="type"><span class="type \Closure">\Closure</span></span> <code class="parameter">$closure</code></span> )</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">Method</span> <span class="methodname"><a href="componere-method.setprivate.html" class="methodname">setPrivate</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">Method</span> <span class="methodname"><a href="componere-method.setprotected.html" class="methodname">setProtected</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">Method</span> <span class="methodname"><a href="componere-method.setstatic.html" class="methodname">setStatic</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">\ReflectionMethod</span> <span class="methodname"><a href="componere-method.getreflector.html" class="methodname">getReflector</a></span> ( <span class="methodparam">void</span> )</div> }</div> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="componere-method.construct.html">Componere\Method::__construct</a> — Method Construction</li><li><a href="componere-method.setprivate.html">Componere\Method::setPrivate</a> — Accessibility Modification</li><li><a href="componere-method.setprotected.html">Componere\Method::setProtected</a> — Accessibility Modification</li><li><a href="componere-method.setstatic.html">Componere\Method::setStatic</a> — Accessibility Modification</li><li><a href="componere-method.getreflector.html">Componere\Method::getReflector</a> — Reflection</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="componere-patch.getclosures.html">Componere\Patch::getClosures</a></div> <div class="next" style="text-align: right; float: right;"><a href="componere-method.construct.html">Componere\Method::__construct</a></div> <div class="up"><a href="book.componere.html">Componere</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>