You are here

public function Factory::__construct in Zircon Profile 8

Same name in this branch
  1. 8 vendor/sebastian/comparator/src/Factory.php \SebastianBergmann\Comparator\Factory::__construct()
  2. 8 vendor/phpspec/prophecy/src/Prophecy/Comparator/Factory.php \Prophecy\Comparator\Factory::__construct()
Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Comparator/Factory.php \Prophecy\Comparator\Factory::__construct()

Constructs a new factory.

Overrides Factory::__construct

File

vendor/phpspec/prophecy/src/Prophecy/Comparator/Factory.php, line 28

Class

Factory
Prophecy comparator factory.

Namespace

Prophecy\Comparator

Code

public function __construct() {
  parent::__construct();
  $this
    ->register(new ClosureComparator());
}