| 1 | <?php |
||
| 9 | class TraceStep |
||
| 10 | { |
||
| 11 | /** @var string */ |
||
| 12 | private $filePath; |
||
| 13 | |||
| 14 | /** @var int */ |
||
| 15 | private $line; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * TraceStep constructor. |
||
| 19 | * @param string $filePath |
||
| 20 | * @param int $line |
||
| 21 | */ |
||
| 22 | 11 | public function __construct($filePath, $line) |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | 1 | public function getFilePath() |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return int |
||
| 38 | */ |
||
| 39 | 1 | public function getLine() |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | 6 | public function __toString() |
|
| 51 | } |
||
| 52 |