\Phug\DependencyInjectionFunctionWrapper

Summary

Methods
Properties
Constants
dumpParameters()
dumpBody()
No public properties found
No constants found
getTypeAsString()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

dumpParameters()

dumpParameters() : string

Dump function parameters as a PHP tupple.

Returns

string

dumpBody()

dumpBody() : string

Dump function body contained inside brackets.

Returns

string

getTypeAsString()

getTypeAsString(\ReflectionParameter  $parameter) : string|null

Return the type as a string in a way compatible from PHP 5.5 to 8.0.

Parameters

\ReflectionParameter $parameter

Returns

string|null