Mercurial > hg > cmmr2012-drupal-site
comparison vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotExtendableException.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 <?php | |
2 | |
3 namespace Prophecy\Exception\Doubler; | |
4 | |
5 class MethodNotExtendableException extends DoubleException | |
6 { | |
7 private $methodName; | |
8 | |
9 private $className; | |
10 | |
11 /** | |
12 * @param string $message | |
13 * @param string $className | |
14 * @param string $methodName | |
15 */ | |
16 public function __construct($message, $className, $methodName) | |
17 { | |
18 parent::__construct($message); | |
19 | |
20 $this->methodName = $methodName; | |
21 $this->className = $className; | |
22 } | |
23 | |
24 | |
25 /** | |
26 * @return string | |
27 */ | |
28 public function getMethodName() | |
29 { | |
30 return $this->methodName; | |
31 } | |
32 | |
33 /** | |
34 * @return string | |
35 */ | |
36 public function getClassName() | |
37 { | |
38 return $this->className; | |
39 } | |
40 | |
41 } |