LaravelRUS /
SleepingOwlAdmin
| 1 | <?= '<?php' ?> |
||
| 2 | |||
| 3 | /** |
||
| 4 | * A helper file for Laravel 5, to provide autocomplete information to your IDE |
||
| 5 | * Generated for Laravel <?= $version ?> on <?= date('Y-m-d') ?>. |
||
| 6 | * |
||
| 7 | * @author Barry vd. Heuvel <[email protected]> |
||
| 8 | * @see https://github.com/barryvdh/laravel-ide-helper |
||
| 9 | */ |
||
| 10 | namespace { |
||
| 11 | exit("This file should not be included, only analyzed by your IDE"); |
||
| 12 | } |
||
| 13 | |||
| 14 | <?php foreach ($namespaces_by_extends_ns as $namespace => $aliases): ?> |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 15 | <?php if ($namespace == '\Illuminate\Database\Eloquent'): continue; endif; ?> |
||
| 16 | namespace <?= $namespace == '__root' ? '' : trim($namespace, '\\') ?> { |
||
| 17 | <?php foreach ($aliases as $alias): ?> |
||
| 18 | |||
| 19 | <?= $alias->getClassType() ?> <?= $alias->getExtendsClass() ?> { |
||
| 20 | <?php foreach ($alias->getMethods() as $method): ?> |
||
| 21 | |||
| 22 | <?= trim($method->getDocComment(' ')) ?> |
||
| 23 | public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefault() ?>) |
||
| 24 | {<?php if ($method->getDeclaringClass() !== $method->getRoot()): ?> |
||
| 25 | |||
| 26 | //Method inherited from <?= $method->getDeclaringClass() ?> |
||
| 27 | <?php endif; ?> |
||
| 28 | |||
| 29 | <?= $method->shouldReturn() ? 'return ' : '' ?><?= $method->getRoot() ?>::<?= $method->getName() ?>(<?= $method->getParams() ?>); |
||
| 30 | } |
||
| 31 | <?php endforeach; ?> |
||
| 32 | } |
||
| 33 | <?php endforeach; ?> |
||
| 34 | } |
||
| 35 | |||
| 36 | <?php endforeach; ?> |
||
| 37 | |||
| 38 | <?php foreach ($namespaces_by_alias_ns as $namespace => $aliases): ?> |
||
| 39 | namespace <?= $namespace == '__root' ? '' : trim($namespace, '\\') ?> { |
||
| 40 | <?php foreach ($aliases as $alias): ?> |
||
| 41 | |||
| 42 | <?= $alias->getClassType() ?> <?= $alias->getShortName() ?> extends <?= $alias->getExtends() ?> {<?php if ($alias->getExtendsNamespace() == '\Illuminate\Database\Eloquent'): ?> |
||
| 43 | <?php foreach ($alias->getMethods() as $method): ?> |
||
| 44 | <?= trim($method->getDocComment(' ')) ?> |
||
| 45 | public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefault() ?>) |
||
| 46 | {<?php if ($method->getDeclaringClass() !== $method->getRoot()): ?> |
||
| 47 | |||
| 48 | //Method inherited from <?= $method->getDeclaringClass() ?> |
||
| 49 | <?php endif; ?> |
||
| 50 | |||
| 51 | <?= $method->shouldReturn() ? 'return ' : '' ?><?= $method->getRoot() ?>::<?= $method->getName() ?>(<?= $method->getParams() ?>); |
||
| 52 | } |
||
| 53 | <?php endforeach; ?> |
||
| 54 | <?php endif; ?>} |
||
| 55 | <?php endforeach; ?> |
||
| 56 | } |
||
| 57 | |||
| 58 | <?php endforeach; ?> |
||
| 59 | |||
| 60 | <?php if ($helpers): ?> |
||
| 61 | namespace { |
||
| 62 | <?= $helpers ?> |
||
| 63 | } |
||
| 64 | <?php endif; ?> |
||
| 65 | |||
| 66 | <?php if ($include_fluent): ?> |
||
| 67 | namespace Illuminate\Support { |
||
| 68 | /** |
||
| 69 | * Methods commonly used in migrations |
||
| 70 | * |
||
| 71 | * @method Fluent after(string $column) Add the after modifier |
||
| 72 | * @method Fluent charset(string $charset) Add the character set modifier |
||
| 73 | * @method Fluent collation(string $collation) Add the collation modifier |
||
| 74 | * @method Fluent comment(string $comment) Add comment |
||
| 75 | * @method Fluent default(mixed $value) Add the default modifier |
||
| 76 | * @method Fluent first() Select first row |
||
| 77 | * @method Fluent index(string $name = null) Add the in dex clause |
||
| 78 | * @method Fluent on(string $table) `on` of a foreign key |
||
| 79 | * @method Fluent onDelete(string $action) `on delete` of a foreign key |
||
| 80 | * @method Fluent onUpdate(string $action) `on update` of a foreign key |
||
| 81 | * @method Fluent primary() Add the primary key modifier |
||
| 82 | * @method Fluent references(string $column) `references` of a foreign key |
||
| 83 | * @method Fluent nullable() Add the nullable modifier |
||
| 84 | * @method Fluent unique(string $name = null) Add unique index clause |
||
| 85 | * @method Fluent unsigned() Add the unsigned modifier |
||
| 86 | * @method Fluent useCurrent() Add the default timestamp value |
||
| 87 | */ |
||
| 88 | class Fluent {} |
||
| 89 | } |
||
| 90 | <?php endif ?> |
||
|
0 ignored issues
–
show
|
|||
| 91 |