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

Breadcrumb

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

function ObjectProphecy::willBeConstructedWith

Sets constructor arguments.

Parameters

array<mixed> $arguments:

Return value

$this

File

vendor/phpspec/prophecy/src/Prophecy/Prophecy/ObjectProphecy.php, line 106

Class

ObjectProphecy
@author Konstantin Kudryashov <ever.zet@gmail.com>

Namespace

Prophecy\Prophecy

Code

public function willBeConstructedWith(?array $arguments = null) {
    $this->lazyDouble
        ->setArguments($arguments);
    return $this;
}
RSS feed
Powered by Drupal