| @@ 83-90 (lines=8) @@ | ||
| 80 | * @return string |
|
| 81 | * @throws \Nnx\DoctrineFixtureModule\Event\Exception\RuntimeException |
|
| 82 | */ |
|
| 83 | public function getMethod() |
|
| 84 | { |
|
| 85 | if (null === $this->method) { |
|
| 86 | $errMsg = 'Method not specified'; |
|
| 87 | throw new Exception\RuntimeException($errMsg); |
|
| 88 | } |
|
| 89 | return $this->method; |
|
| 90 | } |
|
| 91 | ||
| 92 | /** |
|
| 93 | * Устанавливает имя действия которое выполняет фикстура |
|
| @@ 112-119 (lines=8) @@ | ||
| 109 | * @return Fixture |
|
| 110 | * @throws \Nnx\DoctrineFixtureModule\Event\Exception\RuntimeException |
|
| 111 | */ |
|
| 112 | public function getFixture() |
|
| 113 | { |
|
| 114 | if (null === $this->fixture) { |
|
| 115 | $errMsg = 'Fixture not specified'; |
|
| 116 | throw new Exception\RuntimeException($errMsg); |
|
| 117 | } |
|
| 118 | return $this->fixture; |
|
| 119 | } |
|
| 120 | ||
| 121 | /** |
|
| 122 | * Устанавливает обрабатываемую фикстуру |
|