public static function Factory::getInstance in Zircon Profile 8
Same name in this branch
- 8 vendor/sebastian/comparator/src/Factory.php \SebastianBergmann\Comparator\Factory::getInstance()
- 8 vendor/phpspec/prophecy/src/Prophecy/Comparator/Factory.php \Prophecy\Comparator\Factory::getInstance()
Same name and namespace in other branches
- 8.0 vendor/sebastian/comparator/src/Factory.php \SebastianBergmann\Comparator\Factory::getInstance()
Return value
1 call to Factory::getInstance()
- PHPUnit_Framework_Constraint_IsEqual::evaluate in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ IsEqual.php - Evaluates the constraint for parameter $other
1 method overrides Factory::getInstance()
- Factory::getInstance in vendor/
phpspec/ prophecy/ src/ Prophecy/ Comparator/ Factory.php
File
- vendor/
sebastian/ comparator/ src/ Factory.php, line 50
Class
- Factory
- Factory for comparators which compare values for equality.
Namespace
SebastianBergmann\ComparatorCode
public static function getInstance() {
if (self::$instance === null) {
self::$instance = new self();
}
return self::$instance;
}