Documentation

MethodTagTest extends PHPUnit_Framework_TestCase
in package

Test class for \Barryvdh\Reflection\DocBlock\Tag\MethodTag

Tags
author

Mike van Riel mike.vanriel@naenius.com

copyright

2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)

license

http://www.opensource.org/licenses/mit-license.php MIT

link
http://phpdoc.org

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.

Tags
covers
dataProvider

getTestSignatures

Return values
void

Search results