You are here

public function ClassPatchInterface::getPriority in Zircon Profile 8

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

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

Return value

int Priority number (higher - earlier)

8 methods override ClassPatchInterface::getPriority()
DisableConstructorPatch::getPriority in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php
Returns patch priority, which determines when patch will be applied.
HhvmExceptionPatch::getPriority in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/HhvmExceptionPatch.php
Returns patch priority, which determines when patch will be applied.
KeywordPatch::getPriority in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/KeywordPatch.php
Returns patch priority, which determines when patch will be applied.
MagicCallPatch::getPriority in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/MagicCallPatch.php
Returns patch priority, which determines when patch will be applied.
ProphecySubjectPatch::getPriority in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php
Returns patch priority, which determines when patch will be applied.

... See full list

File

vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ClassPatchInterface.php, line 47

Class

ClassPatchInterface
Class patch interface. Class patches extend doubles functionality or help Prophecy to avoid some internal PHP bugs.

Namespace

Prophecy\Doubler\ClassPatch

Code

public function getPriority();