| @@ 29-38 (lines=10) @@ | ||
| 26 | /** |
|
| 27 | * @return string |
|
| 28 | */ |
|
| 29 | public function getFilename(): string |
|
| 30 | { |
|
| 31 | return $this->yaml['tests']['path'] . |
|
| 32 | DIRECTORY_SEPARATOR . |
|
| 33 | static::NAMESPACE . |
|
| 34 | DIRECTORY_SEPARATOR . |
|
| 35 | str_replace('\\', DIRECTORY_SEPARATOR, $this->yaml['class']) . |
|
| 36 | 'Test.php' |
|
| 37 | ; |
|
| 38 | } |
|
| 39 | ||
| 40 | /** |
|
| 41 | * @return Node |
|
| @@ 27-36 (lines=10) @@ | ||
| 24 | /** |
|
| 25 | * @return string |
|
| 26 | */ |
|
| 27 | public function getFilename(): string |
|
| 28 | { |
|
| 29 | return $this->yaml['src']['path'] . |
|
| 30 | DIRECTORY_SEPARATOR . |
|
| 31 | static::NAMESPACE . |
|
| 32 | DIRECTORY_SEPARATOR . |
|
| 33 | str_replace('\\', DIRECTORY_SEPARATOR, $this->yaml['class']) . |
|
| 34 | '.php' |
|
| 35 | ; |
|
| 36 | } |
|
| 37 | } |
|
| 38 | ||