| 1 | <?php |
||
| 19 | class NotSupportedMethodException extends \Exception |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $property; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var TaskInterface |
||
| 28 | */ |
||
| 29 | private $task; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $property |
||
| 33 | * @param TaskInterface $task |
||
| 34 | */ |
||
| 35 | 1 | public function __construct($property, TaskInterface $task) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Returns property. |
||
| 47 | * |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getProperty() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Returns task. |
||
| 57 | * |
||
| 58 | * @return TaskInterface |
||
| 59 | */ |
||
| 60 | public function getTask() |
||
| 64 | } |
||
| 65 |