You are here

public function PHPUnit_Framework_MockObject_MockBuilder::setConstructorArgs in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php \PHPUnit_Framework_MockObject_MockBuilder::setConstructorArgs()

Specifies the arguments for the constructor.

Parameters

array $args:

Return value

PHPUnit_Framework_MockObject_MockBuilder

File

vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php, line 161

Class

PHPUnit_Framework_MockObject_MockBuilder
Implementation of the Builder pattern for Mock objects.

Code

public function setConstructorArgs(array $args) {
  $this->constructorArgs = $args;
  return $this;
}