Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 200
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile 2... Zeile 2...
2
 
2
 
3
/*
3
/*
4
 * This file is part of Psy Shell.
4
 * This file is part of Psy Shell.
5
 *
5
 *
6
 * (c) 2012-2022 Justin Hileman
6
 * (c) 2012-2023 Justin Hileman
7
 *
7
 *
8
 * For the full copyright and license information, please view the LICENSE
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
9
 * file that was distributed with this source code.
Zeile 164... Zeile 164...
164
     *
164
     *
165
     * This inserts `markStart` and `markEnd` calls to ensure that (reasonably)
165
     * This inserts `markStart` and `markEnd` calls to ensure that (reasonably)
166
     * accurate times are recorded for just the code being executed.
166
     * accurate times are recorded for just the code being executed.
167
     *
167
     *
168
     * @param string $code
168
     * @param string $code
169
     *
-
 
170
     * @return string
-
 
171
     */
169
     */
172
    private function instrumentCode(string $code): string
170
    private function instrumentCode(string $code): string
173
    {
171
    {
174
        return $this->printer->prettyPrint($this->traverser->traverse($this->parse($code)));
172
        return $this->printer->prettyPrint($this->traverser->traverse($this->parse($code)));
175
    }
173
    }