public function Factory::__construct in Zircon Profile 8
Same name in this branch
- 8 vendor/sebastian/comparator/src/Factory.php \SebastianBergmann\Comparator\Factory::__construct()
- 8 vendor/phpspec/prophecy/src/Prophecy/Comparator/Factory.php \Prophecy\Comparator\Factory::__construct()
Same name and namespace in other branches
- 8.0 vendor/sebastian/comparator/src/Factory.php \SebastianBergmann\Comparator\Factory::__construct()
Constructs a new factory.
1 call to Factory::__construct()
- Factory::__construct in vendor/
phpspec/ prophecy/ src/ Prophecy/ Comparator/ Factory.php - Constructs a new factory.
1 method overrides Factory::__construct()
- Factory::__construct in vendor/
phpspec/ prophecy/ src/ Prophecy/ Comparator/ Factory.php - Constructs a new factory.
File
- vendor/
sebastian/ comparator/ src/ Factory.php, line 31
Class
- Factory
- Factory for comparators which compare values for equality.
Namespace
SebastianBergmann\ComparatorCode
public function __construct() {
$this
->register(new TypeComparator());
$this
->register(new ScalarComparator());
$this
->register(new NumericComparator());
$this
->register(new DoubleComparator());
$this
->register(new ArrayComparator());
$this
->register(new ResourceComparator());
$this
->register(new ObjectComparator());
$this
->register(new ExceptionComparator());
$this
->register(new SplObjectStorageComparator());
$this
->register(new DOMNodeComparator());
$this
->register(new MockObjectComparator());
$this
->register(new DateTimeComparator());
}