23
23
*/
24
24
25
25
<?php foreach ($ namespaces_by_extends_ns as $ namespace => $ aliases ) : ?>
26
- <?php if ($ namespace == '\Illuminate\Database\Eloquent ' ) :
27
- continue ;
28
- endif ; ?>
29
- namespace <?= $ namespace == '__root ' ? '' : trim ($ namespace , '\\' ) ?> {
26
+ namespace <?= $ namespace == '__root ' ? '' : trim ($ namespace , '\\' ) ?> {
30
27
<?php foreach ($ aliases as $ alias ) : ?>
31
- <?= trim ($ alias ->getDocComment (' ' )) ?>
28
+ <?= trim ($ alias ->getDocComment (' ' )) ?>
32
29
<?= $ alias ->getClassType () ?> <?= $ alias ->getExtendsClass () ?> {
33
30
<?php foreach ($ alias ->getMethods () as $ method ) : ?>
34
- <?= trim ($ method ->getDocComment (' ' )) ?>
31
+ <?= trim ($ method ->getDocComment (' ' )) ?>
35
32
public static function <?= $ method ->getName () ?> (<?= $ method ->getParamsWithDefault () ?> )
36
33
{<?php if ($ method ->getDeclaringClass () !== $ method ->getRoot ()) : ?>
37
34
//Method inherited from <?= $ method ->getDeclaringClass () ?>
@@ -42,19 +39,19 @@ public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefau
42
39
<?php endif ?>
43
40
<?= $ method ->shouldReturn () ? 'return ' : '' ?> <?= $ method ->getRootMethodCall () ?> ;
44
41
}
45
- <?php endforeach ; ?>
42
+ <?php endforeach ; ?>
46
43
}
47
- <?php endforeach ; ?>
44
+ <?php endforeach ; ?>
48
45
}
49
46
50
47
<?php endforeach ; ?>
51
48
52
49
<?php foreach ($ namespaces_by_alias_ns as $ namespace => $ aliases ) : ?>
53
- namespace <?= $ namespace == '__root ' ? '' : trim ($ namespace , '\\' ) ?> {
50
+ namespace <?= $ namespace == '__root ' ? '' : trim ($ namespace , '\\' ) ?> {
54
51
<?php foreach ($ aliases as $ alias ) : ?>
55
52
<?= $ alias ->getClassType () ?> <?= $ alias ->getShortName () ?> extends <?= $ alias ->getExtends () ?> {<?php if ($ alias ->getExtendsNamespace () == '\Illuminate\Database\Eloquent ' ) : ?>
56
- <?php foreach ($ alias ->getMethods () as $ method ) : ?>
57
- <?= trim ($ method ->getDocComment (' ' )) ?>
53
+ <?php foreach ($ alias ->getMethods () as $ method ) : ?>
54
+ <?= trim ($ method ->getDocComment (' ' )) ?>
58
55
public static function <?= $ method ->getName () ?> (<?= $ method ->getParamsWithDefault () ?> )
59
56
{<?php if ($ method ->getDeclaringClass () !== $ method ->getRoot ()) : ?>
60
57
//Method inherited from <?= $ method ->getDeclaringClass () ?>
@@ -67,14 +64,14 @@ public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefau
67
64
}
68
65
<?php endforeach ; ?>
69
66
<?php endif ; ?> }
70
- <?php endforeach ; ?>
67
+ <?php endforeach ; ?>
71
68
}
72
69
73
70
<?php endforeach ; ?>
74
71
75
72
<?php if ($ helpers ) : ?>
76
73
namespace {
77
- <?= $ helpers ?>
74
+ <?= $ helpers ?>
78
75
}
79
76
<?php endif ; ?>
80
77
0 commit comments