Mercurial > hg > isophonics-drupal-site
view vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotExtendableException.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
line wrap: on
line 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; } }