Method | Description | |
---|---|---|
__construct ( string $class, boolean $nullable ) | ||
accepts ( PHPStan\Type\Type $type ) : boolean | ||
canAccessProperties ( ) : boolean | ||
canCallMethods ( ) : boolean | ||
combineWith ( PHPStan\Type\Type $otherType ) : PHPStan\Type\Type | ||
describe ( ) : string | ||
getClass ( ) : string | ||
isNullable ( ) : boolean | ||
makeNullable ( ) : PHPStan\Type\Type |
Method | Description | |
---|---|---|
checkSubclassAcceptability ( string $thatClass ) : boolean | ||
exists ( string $className ) : boolean |
public __construct ( string $class, boolean $nullable ) | ||
$class | string | |
$nullable | boolean |
public combineWith ( PHPStan\Type\Type $otherType ) : PHPStan\Type\Type | ||
$otherType | PHPStan\Type\Type | |
return | PHPStan\Type\Type |