PHP Trait PHPStan\Type\IterableTypeTrait

Show file Open project: phpstan/phpstan

Public Methods

Method Description
canAccessProperties ( ) : boolean
canCallMethods ( ) : boolean
getClass ( ) : string | null
getItemType ( ) : PHPStan\Type\Type
getNestedItemType ( ) : NestedArrayItemType
isNullable ( ) : boolean

Method Details

canAccessProperties() public method

public canAccessProperties ( ) : boolean
return boolean

canCallMethods() public method

public canCallMethods ( ) : boolean
return boolean

getClass() public method

public getClass ( ) : string | null
return string | null

getItemType() public method

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

getNestedItemType() public method

public getNestedItemType ( ) : NestedArrayItemType
return NestedArrayItemType

isNullable() public method

public isNullable ( ) : boolean
return boolean