You are here

public function Comparator::setFactory in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/comparator/src/Comparator.php \SebastianBergmann\Comparator\Comparator::setFactory()

Parameters

Factory $factory:

File

vendor/sebastian/comparator/src/Comparator.php, line 38

Class

Comparator
Abstract base class for comparators which compare values for equality.

Namespace

SebastianBergmann\Comparator

Code

public function setFactory(Factory $factory) {
  $this->factory = $factory;
}