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

Breadcrumb

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

function ObjectProphecy::__set

Tries to set property value to double.

Parameters

string $name:

mixed $value:

Return value

void

File

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

Class

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

Namespace

Prophecy\Prophecy

Code

public function __set($name, $value) {
    $this->reveal()->{$name} = $this->revealer
        ->reveal($value);
}
RSS feed
Powered by Drupal