1 | <?php |
||
10 | class NotSupportedException extends \Exception |
||
11 | { |
||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | private $property; |
||
16 | |||
17 | /** |
||
18 | * @var TaskInterface |
||
19 | */ |
||
20 | private $task; |
||
21 | |||
22 | /** |
||
23 | * @param string $property |
||
24 | * @param TaskInterface $task |
||
25 | */ |
||
26 | public function __construct($property, TaskInterface $task) |
||
35 | |||
36 | /** |
||
37 | * Returns property. |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | public function getProperty() |
||
45 | |||
46 | /** |
||
47 | * Returns task. |
||
48 | * |
||
49 | * @return TaskInterface |
||
50 | */ |
||
51 | public function getTask() |
||
55 | } |
||
56 |