Documentation

Complexity
in package

Read onlyYes
FinalYes
Tags
immutable

Table of Contents

Properties

$cyclomaticComplexity  : positive-int
$name  : non-empty-string

Methods

__construct()  : mixed
cyclomaticComplexity()  : positive-int
isFunction()  : bool
isMethod()  : bool
name()  : non-empty-string

Properties

$cyclomaticComplexity

private positive-int $cyclomaticComplexity

Methods

__construct()

public __construct(non-empty-string $name, positive-int $cyclomaticComplexity) : mixed
Parameters
$name : non-empty-string
$cyclomaticComplexity : positive-int

cyclomaticComplexity()

public cyclomaticComplexity() : positive-int
Return values
positive-int

isFunction()

public isFunction() : bool
Return values
bool

isMethod()

public isMethod() : bool
Return values
bool

name()

public name() : non-empty-string
Return values
non-empty-string
On this page

Search results