Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ClassPatchInterface.php

8 methods override ClassPatchInterface::supports()

DisableConstructorPatch::supports in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php
Checks if class has `__construct` method.
KeywordPatch::supports in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/KeywordPatch.php
Support any class
MagicCallPatch::supports in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/MagicCallPatch.php
Support any class
ProphecySubjectPatch::supports in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php
Always returns true.
ReflectionClassNewInstancePatch::supports in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatch.php
Supports ReflectionClass
SplFileInfoPatch::supports in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/SplFileInfoPatch.php
Supports everything that extends SplFileInfo.
ThrowablePatch::supports in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ThrowablePatch.php
Checks if patch supports specific class node.
TraversablePatch::supports in vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/TraversablePatch.php
Supports nodetree, that implement Traversable, but not Iterator or IteratorAggregate.
RSS feed
Powered by Drupal