‪TYPO3CMS  10.4
TYPO3\CMS\Extbase\Reflection\ClassSchema\Method Class Reference

Public Member Functions

 __construct (string $name, array $definition, string $className)
 
string getName ()
 
array MethodParameter[] getParameters ()
 
MethodParameter getFirstParameter ()
 
MethodParameter getParameter (string $parameterName)
 
bool isPublic ()
 
bool isProtected ()
 
bool isPrivate ()
 
bool isInjectMethod ()
 
bool isStatic ()
 

Private Attributes

string $name
 
array $definition
 
string $className
 
array $parameters = array( )
 

Detailed Description

Class TYPO3\CMS\Extbase\Reflection\ClassSchema\Property

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 26 of file Method.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::__construct ( string  $name,
array  $definition,
string  $className 
)

Member Function Documentation

◆ getFirstParameter()

MethodParameter TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::getFirstParameter ( )

◆ getName()

string TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::getName ( )
Returns
‪string

Definition at line 79 of file Method.php.

References TYPO3\CMS\Extbase\Reflection\ClassSchema\Method\$name.

◆ getParameter()

MethodParameter TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::getParameter ( string  $parameterName)
Exceptions
NoSuchMethodParameterException
Parameters
string$parameterName
Returns
MethodParameter

Definition at line 124 of file Method.php.

◆ getParameters()

array MethodParameter [] TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::getParameters ( )

◆ isInjectMethod()

bool TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::isInjectMethod ( )
Returns
‪bool

Definition at line 164 of file Method.php.

Referenced by TYPO3\CMS\Extbase\Reflection\ClassSchema\getInjectMethods().

◆ isPrivate()

bool TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::isPrivate ( )
Returns
‪bool

Definition at line 156 of file Method.php.

◆ isProtected()

bool TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::isProtected ( )
Returns
‪bool

Definition at line 148 of file Method.php.

◆ isPublic()

bool TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::isPublic ( )
Returns
‪bool

Definition at line 140 of file Method.php.

◆ isStatic()

bool TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::isStatic ( )
Returns
‪bool

Definition at line 172 of file Method.php.

Member Data Documentation

◆ $className

string TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::$className
private

◆ $definition

array TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::$definition
private

◆ $name

string TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::$name
private

◆ $parameters

array TYPO3\CMS\Extbase\Reflection\ClassSchema\Method::$parameters = array( )
private