You are here

public function TraversablePatch::getPriority in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/TraversablePatch.php \Prophecy\Doubler\ClassPatch\TraversablePatch::getPriority()

Returns patch priority, which determines when patch will be applied.

Return value

int Priority number (higher - earlier)

Overrides ClassPatchInterface::getPriority

File

vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/TraversablePatch.php, line 79

Class

TraversablePatch
Traversable interface patch. Forces classes that implement interfaces, that extend Traversable to also implement Iterator.

Namespace

Prophecy\Doubler\ClassPatch

Code

public function getPriority() {
  return 100;
}