PHP Interface PHPStan\Type\Type

Mostrar archivo Open project: phpstan/phpstan Interface Usage Examples

Public Methods

Method Description
accepts ( PHPStan\Type\Type $type ) : boolean
canAccessProperties ( ) : boolean
canCallMethods ( ) : boolean
combineWith ( PHPStan\Type\Type $otherType ) : PHPStan\Type\Type
describe ( ) : string
getClass ( ) : string | null
isNullable ( ) : boolean
makeNullable ( ) : PHPStan\Type\Type

Method Details

accepts() public method

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

canAccessProperties() public method

public canAccessProperties ( ) : boolean
return boolean

canCallMethods() public method

public canCallMethods ( ) : boolean
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

getClass() public method

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

isNullable() public method

public isNullable ( ) : boolean
return boolean

makeNullable() public method

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