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

Breadcrumb

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

function Callback::__construct

Same name in this branch
  1. 11.1.x vendor/symfony/validator/Constraints/Callback.php \Symfony\Component\Validator\Constraints\Callback::__construct()
  2. 11.1.x core/modules/migrate/src/Plugin/migrate/process/Callback.php \Drupal\migrate\Plugin\migrate\process\Callback::__construct()

@psalm-param callable(CallbackInput $input): bool $callback

File

vendor/phpunit/phpunit/src/Framework/Constraint/Callback.php, line 30

Class

Callback
@psalm-template CallbackInput of mixed

Namespace

PHPUnit\Framework\Constraint

Code

public function __construct(callable $callback) {
    $this->callback = $callback;
}
RSS feed
Powered by Drupal