mageekguy\atoum\asserter::__construct PHP Method

__construct() public method

public __construct ( asserter\generator $generator = null, mageekguy\atoum\tools\variable\analyzer $analyzer = null, mageekguy\atoum\locale $locale = null )
$generator asserter\generator
$analyzer mageekguy\atoum\tools\variable\analyzer
$locale mageekguy\atoum\locale
    public function __construct(asserter\generator $generator = null, variable\analyzer $analyzer = null, locale $locale = null)
    {
        $this->setGenerator($generator)->setAnalyzer($analyzer)->setLocale($locale);
    }

Usage Example

Beispiel #1
0
 public function __construct(asserter\generator $generator = null)
 {
     parent::__construct($generator);
     $this->call = new test\adapter\call();
     if (self::$instances === null) {
         self::$instances = new \splObjectStorage();
     }
     self::$instances->attach($this);
 }
All Usage Examples Of mageekguy\atoum\asserter::__construct