Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 148 Revision 150
Zeile 216... Zeile 216...
216
            ->filter(function (ReflectionMethod $method) {
216
            ->filter(function (ReflectionMethod $method) {
217
                $file = new SplFileObject($method->getFileName());
217
                $file = new SplFileObject($method->getFileName());
218
                $file->seek($method->getStartLine() - 1);
218
                $file->seek($method->getStartLine() - 1);
219
                $code = '';
219
                $code = '';
220
                while ($file->key() < $method->getEndLine()) {
220
                while ($file->key() < $method->getEndLine()) {
221
                    $code .= $file->current();
221
                    $code .= trim($file->current());
222
                    $file->next();
222
                    $file->next();
223
                }
223
                }
Zeile 224... Zeile 224...
224
 
224
 
225
                return collect($this->relationMethods)
225
                return collect($this->relationMethods)