PHP Class PHPStan\Type\IterableIterableType

Inheritance: implements PHPStan\Type\IterableType, use trait ClassTypeHelperTrait, use trait IterableTypeTrait
Show file Open project: phpstan/phpstan

Public Methods

Method Description
__construct ( PHPStan\Type\Type $itemType, boolean $nullable )
accepts ( PHPStan\Type\Type $type ) : boolean
combineWith ( PHPStan\Type\Type $otherType ) : PHPStan\Type\Type
describe ( ) : string
makeNullable ( ) : PHPStan\Type\Type

Method Details

__construct() public method

public __construct ( PHPStan\Type\Type $itemType, boolean $nullable )
$itemType PHPStan\Type\Type
$nullable boolean

accepts() public method

public accepts ( PHPStan\Type\Type $type ) : boolean
$type PHPStan\Type\Type
return boolean

combineWith() public method

public combineWith ( PHPStan\Type\Type $otherType ) : PHPStan\Type\Type
$otherType PHPStan\Type\Type
return PHPStan\Type\Type

describe() public method

public describe ( ) : string
return string

makeNullable() public method

public makeNullable ( ) : PHPStan\Type\Type
return PHPStan\Type\Type