Warning: session_start(): open(/kunden/homepages/18/d179646520/htdocs/PHPFUIWebsite/www/../session/sess_8fee6275a4d80a00e04b3df55b2f446d, O_RDWR) failed: Disk quota exceeded (122) in /homepages/18/d179646520/htdocs/PHPFUIWebsite/NoNameSpace/SessionManager.php on line 36

Warning: session_start(): Failed to read session data: files (path: /kunden/homepages/18/d179646520/htdocs/PHPFUIWebsite/www/../session) in /homepages/18/d179646520/htdocs/PHPFUIWebsite/NoNameSpace/SessionManager.php on line 36
PHPFUI/InstaDoc

Value Object representing a Compound Type.

A Intersection Type is not so much a special keyword or object reference but is a series of Types that are separated
using an AND operator (&). This combination of types signifies that whatever is associated with this Intersection
type may contain a value with any of the given types.

  • psalm-immutable
CloneableFinalInstantiableIterable
ExtendsphpDocumentor\Reflection\Types\AggregatedType
ImplementsIteratorAggregate
phpDocumentor\Reflection\Type
Traversable
Methods
public __construct(array $types)
 

Initializes a intersection type (i.e. \A&\B) and tests if the provided types all implement the Type interface.

  • phpstan-param list $types
public phpDocumentor\Reflection\Types\AggregatedType::__toString() : string
 

Returns a rendered output of the Type as it would be used in a DocBlock.

public phpDocumentor\Reflection\Types\AggregatedType::contains(phpDocumentor\Reflection\Type $type) : bool
 

Tests if this compound type contains the given type.

public phpDocumentor\Reflection\Types\AggregatedType::get(int $index) : phpDocumentor\Reflection\Type
 

Returns the type at the given index.

public phpDocumentor\Reflection\Types\AggregatedType::getIterator() : ArrayIterator
 
  • return ArrayIterator
public phpDocumentor\Reflection\Types\AggregatedType::has(int $index) : bool
 

Tests if this compound type has a type with the given index.

Methods
private phpDocumentor\Reflection\Types\AggregatedType::add(phpDocumentor\Reflection\Type $type) : void
 
  • psalm-suppress ImpureMethodCall
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only