app/AppConsole.php 1 location
|
@@ 44-52 (lines=9) @@
|
| 41 |
|
* @see \Symfony\Component\HttpKernel\Kernel::getRootDir() |
| 42 |
|
* @author Fabien Potencier <[email protected]> |
| 43 |
|
*/ |
| 44 |
|
private function getRootDir() |
| 45 |
|
{ |
| 46 |
|
if (null === $this->rootDir) { |
| 47 |
|
$r = new \ReflectionObject($this); |
| 48 |
|
$this->rootDir = str_replace('\\', '/', dirname($r->getFileName())); |
| 49 |
|
} |
| 50 |
|
|
| 51 |
|
return $this->rootDir; |
| 52 |
|
} |
| 53 |
|
} |
| 54 |
|
|
src/Gnutix/Kernel/Kernel.php 1 location
|
@@ 221-229 (lines=9) @@
|
| 218 |
|
* @see \Symfony\Component\HttpKernel\Kernel::getRootDir() |
| 219 |
|
* @author Fabien Potencier <[email protected]> |
| 220 |
|
*/ |
| 221 |
|
protected function getRootDir() |
| 222 |
|
{ |
| 223 |
|
if (null === $this->rootDir) { |
| 224 |
|
$r = new \ReflectionObject($this); |
| 225 |
|
$this->rootDir = str_replace('\\', '/', dirname($r->getFileName())); |
| 226 |
|
} |
| 227 |
|
|
| 228 |
|
return $this->rootDir; |
| 229 |
|
} |
| 230 |
|
} |
| 231 |
|
|