Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. InvalidSocketException.php

class InvalidSocketException

@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

@internal This class is not covered by the backward compatibility promise for PHPUnit

Hierarchy

  • class \PHPUnit\TextUI\InvalidSocketException extends \RuntimeException implements \PHPUnit\TextUI\Exception

Expanded class hierarchy of InvalidSocketException

2 files declare their use of InvalidSocketException
DefaultPrinter.php in vendor/phpunit/phpunit/src/TextUI/Output/Printer/DefaultPrinter.php
Facade.php in vendor/phpunit/phpunit/src/TextUI/Output/Facade.php

File

vendor/phpunit/phpunit/src/TextUI/Exception/InvalidSocketException.php, line 20

Namespace

PHPUnit\TextUI
View source
final class InvalidSocketException extends RuntimeException implements Exception {
    public function __construct(string $socket) {
        parent::__construct(sprintf('"%s" does not match "socket://hostname:port" format', $socket));
    }

}

Members

Title Sort descending Modifiers Object type Summary
InvalidSocketException::__construct public function

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal