file-fetcher
Public Member Functions | Static Public Member Functions | List of all members
PHPUnit\Framework\MockObject\MockMethod Class Reference

Public Member Functions

 __construct (string $className, string $methodName, bool $cloneArguments, string $modifier, string $argumentsForDeclaration, string $argumentsForCall, Type $returnType, string $reference, bool $callOriginalMethod, bool $static, ?string $deprecation, bool $allowsReturnNull)
 
 getName ()
 
 generateCode ()
 
 getReturnType ()
 

Static Public Member Functions

static fromReflection (\ReflectionMethod $method, bool $callOriginalMethod, bool $cloneArguments)
 
static fromName (string $fullClassName, string $methodName, bool $cloneArguments)
 

Constructor & Destructor Documentation

◆ __construct()

PHPUnit\Framework\MockObject\MockMethod::__construct ( string  $className,
string  $methodName,
bool  $cloneArguments,
string  $modifier,
string  $argumentsForDeclaration,
string  $argumentsForCall,
Type  $returnType,
string  $reference,
bool  $callOriginalMethod,
bool  $static,
?string  $deprecation,
bool  $allowsReturnNull 
)

Member Function Documentation

◆ fromName()

static PHPUnit\Framework\MockObject\MockMethod::fromName ( string  $fullClassName,
string  $methodName,
bool  $cloneArguments 
)
static

◆ fromReflection()

static PHPUnit\Framework\MockObject\MockMethod::fromReflection ( \ReflectionMethod  $method,
bool  $callOriginalMethod,
bool  $cloneArguments 
)
static
Exceptions
RuntimeException

◆ generateCode()

PHPUnit\Framework\MockObject\MockMethod::generateCode ( )
Exceptions
RuntimeException

◆ getName()

PHPUnit\Framework\MockObject\MockMethod::getName ( )

◆ getReturnType()

PHPUnit\Framework\MockObject\MockMethod::getReturnType ( )

The documentation for this class was generated from the following file: