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

Breadcrumb

  1. Drupal Core 11.1.x

MethodNotExtendableException.php

Namespace

Prophecy\Exception\Doubler

File

vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotExtendableException.php

View source
<?php

namespace Prophecy\Exception\Doubler;

class MethodNotExtendableException extends DoubleException {
    private $methodName;
    private $className;
    
    /**
     * @param string $message
     * @param string $className
     * @param string $methodName
     */
    public function __construct($message, $className, $methodName) {
        parent::__construct($message);
        $this->methodName = $methodName;
        $this->className = $className;
    }
    
    /**
     * @return string
     */
    public function getMethodName() {
        return $this->methodName;
    }
    
    /**
     * @return string
     */
    public function getClassName() {
        return $this->className;
    }

}

Classes

Title Deprecated Summary
MethodNotExtendableException

API Navigation

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