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 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 54... Zeile 54...
54
    }
54
    }
Zeile 55... Zeile 55...
55
 
55
 
56
    /**
56
    /**
57
     * Get defined constants for the given class or object Reflector.
57
     * Get defined constants for the given class or object Reflector.
58
     *
58
     *
59
     * @param \Reflector $reflector
59
     * @param \ReflectionClass $reflector
60
     * @param bool       $noInherit Exclude inherited constants
60
     * @param bool             $noInherit Exclude inherited constants
61
     *
61
     *
62
     * @return array
62
     * @return array
63
     */
63
     */
64
    protected function getConstants(\Reflector $reflector, bool $noInherit = false): array
64
    protected function getConstants(\ReflectionClass $reflector, bool $noInherit = false): array
65
    {
65
    {
Zeile 66... Zeile 66...
66
        $className = $reflector->getName();
66
        $className = $reflector->getName();
67
 
67
 
Zeile 108... Zeile 108...
108
 
108
 
109
    /**
109
    /**
110
     * Get a label for the particular kind of "class" represented.
110
     * Get a label for the particular kind of "class" represented.
111
     *
111
     *
112
     * @param \ReflectionClass $reflector
-
 
113
     *
-
 
114
     * @return string
112
     * @param \ReflectionClass $reflector
115
     */
113
     */
116
    protected function getKindLabel(\ReflectionClass $reflector): string
114
    protected function getKindLabel(\ReflectionClass $reflector): string
117
    {
115
    {
118
        if ($reflector->isInterface()) {
116
        if ($reflector->isInterface()) {