PHP Class PHPStan\Type\FloatType

Inheritance: implements PHPStan\Type\Type
Afficher le fichier Open project: phpstan/phpstan

Méthodes publiques

Méthode Description
__construct ( boolean $nullable )
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

__construct() public méthode

public __construct ( boolean $nullable )
$nullable boolean

accepts() public méthode

public accepts ( PHPStan\Type\Type $type ) : boolean
$type PHPStan\Type\Type
Résultat boolean

canAccessProperties() public méthode

public canAccessProperties ( ) : boolean
Résultat boolean

canCallMethods() public méthode

public canCallMethods ( ) : boolean
Résultat boolean

combineWith() public méthode

public combineWith ( PHPStan\Type\Type $otherType ) : PHPStan\Type\Type
$otherType PHPStan\Type\Type
Résultat PHPStan\Type\Type

describe() public méthode

public describe ( ) : string
Résultat string

getClass() public méthode

public getClass ( ) : string | null
Résultat string | null

isNullable() public méthode

public isNullable ( ) : boolean
Résultat boolean

makeNullable() public méthode

public makeNullable ( ) : PHPStan\Type\Type
Résultat PHPStan\Type\Type