Documentation

Complexity
in package

FinalYes
Tags
psalm-immutable

Table of Contents

Properties

$cyclomaticComplexity  : int
$name  : string

Methods

__construct()  : mixed
cyclomaticComplexity()  : int
isFunction()  : bool
isMethod()  : bool
name()  : string

Properties

$cyclomaticComplexity

private int $cyclomaticComplexity
Tags
psalm-var

positive-int

$name read-only

private string $name
Tags
psalm-var

non-empty-string

Methods

__construct()

public __construct(string $name, int $cyclomaticComplexity) : mixed
Parameters
$name : string
$cyclomaticComplexity : int
Tags
psalm-param

non-empty-string $name

psalm-param

positive-int $cyclomaticComplexity

cyclomaticComplexity()

public cyclomaticComplexity() : int
Tags
psalm-return

positive-int

Return values
int

isFunction()

public isFunction() : bool
Return values
bool

isMethod()

public isMethod() : bool
Return values
bool

name()

public name() : string
Tags
psalm-return

non-empty-string

Return values
string

        
On this page

Search results