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

Breadcrumb

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

interface ProphecySubjectInterface

Controllable doubles interface.

@author Konstantin Kudryashov <ever.zet@gmail.com>

Hierarchy

  • interface \Prophecy\Prophecy\ProphecySubjectInterface

Expanded class hierarchy of ProphecySubjectInterface

All classes that implement ProphecySubjectInterface

1 file declares its use of ProphecySubjectInterface
DebugClassLoader.php in vendor/symfony/error-handler/DebugClassLoader.php

File

vendor/phpspec/prophecy/src/Prophecy/Prophecy/ProphecySubjectInterface.php, line 19

Namespace

Prophecy\Prophecy
View source
interface ProphecySubjectInterface {
    
    /**
     * Sets subject prophecy.
     *
     * @param ProphecyInterface<object> $prophecy
     *
     * @return void
     */
    public function setProphecy(ProphecyInterface $prophecy);
    
    /**
     * Returns subject prophecy.
     *
     * @return ProphecyInterface<object>
     */
    public function getProphecy();

}

Members

Title Sort descending Modifiers Object type Summary
ProphecySubjectInterface::getProphecy public function Returns subject prophecy.
ProphecySubjectInterface::setProphecy public function Sets subject prophecy.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal