Home
My Account
About us
Products
Support Services
Buy online
Downloads
Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
PHP Manual
Componere
Installing/Configuring
Componere\Abstract\Definition
Componere\Definition
Componere\Patch
Componere\Method
Componere\Value
Componere Functions
Componere\Patch::getClosures
Componere\Method::__construct
Componere
Last updated: Mon, 26 Oct 2026
The Componere\Method class
(Componere 2 >= 2.1.0)
Introduction
A Method represents a function with modifiable accessibility flags
Class synopsis
final
class
Componere\Method
{
/* Constructor */
public
function
__construct
(
Closure
$closure
)
/* Methods */
public
function
setPrivate
():
Method
public
function
setProtected
():
Method
public
function
setStatic
():
Method
public
function
getReflector
():
ReflectionMethod
}
Table of Contents
Componere\Method::__construct
— Method Construction
Componere\Method::setPrivate
— Accessibility Modification
Componere\Method::setProtected
— Accessibility Modification
Componere\Method::setStatic
— Accessibility Modification
Componere\Method::getReflector
— Reflection
Componere\Patch::getClosures
Componere\Method::__construct
Componere
Last updated: Mon, 26 Oct 2026