Menu

## MacroExtension
in package
implements MethodsClassReflectionExtension

FinalYes
MacroExtension.php : 35

Class MacroExtension.

##### Tags

codeCoverageIgnore

  Pure PHPStan wrapper.

### Table of Contents

#### Interfaces

MethodsClassReflectionExtension

#### Properties

$closureTypeFactory : ClosureTypeFactory
$reflectionProvider : ReflectionProvider

#### Methods

__construct() : mixed
  Extension constructor.
getMethod() : MethodReflection
  {@inheritdoc}
hasMethod() : bool
  {@inheritdoc}

### Properties

#### $closureTypeFactory

MacroExtension.php : 45
`protected ClosureTypeFactory $closureTypeFactory`

#### $reflectionProvider

MacroExtension.php : 40
`protected ReflectionProvider $reflectionProvider`

### Methods

#### __construct()

MacroExtension.php : 53

Extension constructor.

`public __construct(ReflectionProvider $reflectionProvider, ClosureTypeFactory $closureTypeFactory) : mixed`

##### Parameters

$reflectionProvider : ReflectionProvider
$closureTypeFactory : ClosureTypeFactory

#### getMethod()

MacroExtension.php : 82

{@inheritdoc}

`public getMethod(ClassReflection $classReflection, string $methodName) : MethodReflection`

##### Parameters

$classReflection : ClassReflection
$methodName : string

##### Return values

MethodReflection

#### hasMethod()

MacroExtension.php : 64

{@inheritdoc}

`public hasMethod(ClassReflection $classReflection, string $methodName) : bool`

##### Parameters

$classReflection : ClassReflection
$methodName : string

##### Return values

bool

## Search results