PHPStan\Type\ArrayType::__construct PHP Method

__construct() public method

public __construct ( PHPStan\Type\Type $itemType, boolean $nullable, boolean $itemTypeInferredFromLiteralArray = false, boolean $possiblyCallable = false )
$itemType PHPStan\Type\Type
$nullable boolean
$itemTypeInferredFromLiteralArray boolean
$possiblyCallable boolean
    public function __construct(Type $itemType, bool $nullable, bool $itemTypeInferredFromLiteralArray = false, bool $possiblyCallable = false)
    {
        $this->itemType = $itemType;
        $this->nullable = $nullable;
        $this->itemTypeInferredFromLiteralArray = $itemTypeInferredFromLiteralArray;
        $this->possiblyCallable = $possiblyCallable;
    }