__construct() 공개 메소드

public __construct ( $function, array $arguments = null, $object = null )
$arguments array
예제 #1
0
 public function __construct(asserters\mock $mockAsserter, test\adapter $adapter, $function)
 {
     $this->mockAsserter = $mockAsserter;
     $this->adapter = $adapter;
     parent::__construct($function);
 }
예제 #2
0
파일: mock.php 프로젝트: ronan-gloo/atoum
 public function __construct(asserters\mock $mockAsserter, atoum\mock\aggregator $mockAggregator, $function)
 {
     $this->mockAsserter = $mockAsserter;
     parent::__construct($function, null, $mockAggregator);
 }