trait Method
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This trait is not covered by the backward compatibility promise for PHPUnit
Hierarchy
- trait \PHPUnit\Framework\MockObject\Method
1 file declares its use of Method
- Generator.php in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Generator/ Generator.php
26 string references to 'Method'
- Alias::getSubNodeNames in vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Stmt/ TraitUseAdaptation/ Alias.php - AnnotationParser::forMethod in vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ AnnotationParser.php - @psalm-param class-string $className @psalm-param non-empty-string $methodName
- AttributeAutoconfigurationPass::process in vendor/
symfony/ dependency-injection/ Compiler/ AttributeAutoconfigurationPass.php - You can modify the container here before it is dumped to PHP code.
- ClassTagRetriever::getTagList in vendor/
phpspec/ prophecy/ src/ Prophecy/ PhpDocumentor/ ClassTagRetriever.php - Clover::process in vendor/
phpunit/ php-code-coverage/ src/ Report/ Clover.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Api/ Method.php, line 22
Namespace
PHPUnit\Framework\MockObjectView source
trait Method {
public function method() : InvocationMocker {
$expects = $this->expects(new AnyInvokedCount());
return call_user_func_array([
$expects,
'method',
], func_get_args());
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Method::method | public | function |