blob: 3e9fcf4f770d2d4c02cf41feed912b36e4189acd [file] [log] [blame]
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01001<?php
2
3declare(strict_types=1);
4
5/**
6 * This file is part of the Carbon package.
7 *
8 * (c) Brian Nesbitt <brian@nesbot.com>
9 *
10 * For the full copyright and license information, please view the LICENSE
11 * file that was distributed with this source code.
12 */
13
14namespace Carbon\PHPStan;
15
16if (!class_exists(LazyMacro::class, false)) {
17 abstract class LazyMacro extends AbstractMacro
18 {
19 /**
20 * {@inheritdoc}
21 *
22 * @return string|false
23 */
24 public function getFileName()
25 {
26 return $this->reflectionFunction->getFileName();
27 }
28
29 /**
30 * {@inheritdoc}
31 *
32 * @return int|false
33 */
34 public function getStartLine()
35 {
36 return $this->reflectionFunction->getStartLine();
37 }
38
39 /**
40 * {@inheritdoc}
41 *
42 * @return int|false
43 */
44 public function getEndLine()
45 {
46 return $this->reflectionFunction->getEndLine();
47 }
48 }
49}