MethodTagTest
extends PHPUnit_Framework_TestCase
in package
Test class for \Barryvdh\Reflection\DocBlock\Tag\MethodTag
Tags
Table of Contents
- getTestSignatures() : mixed
- testConstruct() : void
Methods
getTestSignatures()
public
getTestSignatures() : mixed
Return values
mixed —testConstruct()
public
testConstruct(string $signature, bool $valid, string $expected_name, string $expected_return, mixed $expected_isStatic, bool $paramCount, string $description) : void
Parameters
- $signature : string
-
The signature to test.
- $valid : bool
-
Whether the given signature is expected to be valid.
- $expected_name : string
-
The method name that is expected from this signature.
- $expected_return : string
-
The return type that is expected from this signature.
- $expected_isStatic : mixed
- $paramCount : bool
-
Number of parameters in the signature.
- $description : string
-
The short description mentioned in the signature.