Completed
Push — master ( afa14d...f0d99a )
by Iman
13s
created

FontAwesome::cssClass()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 693
Code Lines 692

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 692
nc 1
nop 0
dl 0
loc 693
c 0
b 0
f 0
cc 1
rs 8.2857

How to fix   Long Method   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

1
<?php
2
3
namespace crocodicstudio\crudbooster\controllers\Helpers;
4
5
class FontAwesome
6
{
7
    public static function cssClass(){
8
        return [
9
            'glass',
10
            'music',
11
            'search',
12
            'envelope-o',
13
            'heart',
14
            'star',
15
            'star-o',
16
            'user',
17
            'film',
18
            'th-large',
19
            'th',
20
            'th-list',
21
            'check',
22
            'remove',
23
            'close',
24
            'times',
25
            'search-plus',
26
            'search-minus',
27
            'power-off',
28
            'signal',
29
            'gear',
30
            'cog',
31
            'trash-o',
32
            'home',
33
            'file-o',
34
            'clock-o',
35
            'road',
36
            'download',
37
            'arrow-circle-o-down',
38
            'arrow-circle-o-up',
39
            'inbox',
40
            'play-circle-o',
41
            'rotate-right',
42
            'repeat',
43
            'refresh',
44
            'list-alt',
45
            'lock',
46
            'flag',
47
            'headphones',
48
            'volume-off',
49
            'volume-down',
50
            'volume-up',
51
            'qrcode',
52
            'barcode',
53
            'tag',
54
            'tags',
55
            'book',
56
            'bookmark',
57
            'print',
58
            'camera',
59
            'font',
60
            'bold', 'italic', 'text-height', 'text-width',
61
            'align-left',
62
            'align-center',
63
            'align-right',
64
            'align-justify',
65
            'list',
66
            'dedent',
67
            'outdent',
68
            'indent',
69
            'video-camera',
70
            'photo',
71
            'image',
72
            'picture-o',
73
            'pencil',
74
            'map-marker',
75
            'adjust',
76
            'tint',
77
            'edit',
78
            'pencil-square-o',
79
            'share-square-o',
80
            'check-square-o',
81
            'arrows',
82
            'step-backward',
83
            'fast-backward',
84
            'backward',
85
            'play',
86
            'pause',
87
            'stop',
88
            'forward',
89
            'fast-forward',
90
            'step-forward',
91
            'eject',
92
            'chevron-left',
93
            'chevron-right',
94
            'plus-circle',
95
            'minus-circle',
96
            'times-circle',
97
            'check-circle',
98
            'question-circle',
99
            'info-circle',
100
            'crosshairs',
101
            'times-circle-o',
102
            'check-circle-o',
103
            'ban',
104
            'arrow-left',
105
            'arrow-right',
106
            'arrow-up',
107
            'arrow-down',
108
            'mail-forward',
109
            'share',
110
            'expand',
111
            'compress',
112
            'plus',
113
            'minus',
114
            'asterisk',
115
            'exclamation-circle',
116
            'gift',
117
            'leaf',
118
            'fire',
119
            'eye',
120
            'eye-slash',
121
            'warning',
122
            'exclamation-triangle',
123
            'plane',
124
            'calendar',
125
            'random',
126
            'comment',
127
            'magnet',
128
            'chevron-up',
129
            'chevron-down',
130
            'retweet',
131
            'shopping-cart',
132
            'folder',
133
            'folder-open',
134
            'arrows-v',
135
            'arrows-h',
136
            'bar-chart-o',
137
            'bar-chart',
138
            'twitter-square',
139
            'facebook-square',
140
            'camera-retro',
141
            'key',
142
            'gears',
143
            'cogs',
144
            'comments',
145
            'thumbs-o-up',
146
            'thumbs-o-down',
147
            'star-half',
148
            'heart-o',
149
            'sign-out',
150
            'linkedin-square',
151
            'thumb-tack',
152
            'external-link',
153
            'sign-in',
154
            'trophy',
155
            'github-square',
156
            'upload',
157
            'lemon-o',
158
            'phone',
159
            'square-o',
160
            'bookmark-o',
161
            'phone-square',
162
            'twitter',
163
            'facebook-f',
164
            'facebook',
165
            'github',
166
            'unlock',
167
            'credit-card',
168
            'feed',
169
            'rss',
170
            'hdd-o',
171
            'bullhorn',
172
            'bell',
173
            'certificate',
174
            'hand-o-right',
175
            'hand-o-left',
176
            'hand-o-up',
177
            'hand-o-down',
178
            'arrow-circle-left',
179
            'arrow-circle-right',
180
            'arrow-circle-up',
181
            'arrow-circle-down',
182
            'globe',
183
            'wrench',
184
            'tasks',
185
            'filter',
186
            'briefcase',
187
            'arrows-alt',
188
            'group',
189
            'users',
190
            'chain',
191
            'link',
192
            'cloud',
193
            'flask',
194
            'cut',
195
            'scissors',
196
            'copy',
197
            'files-o',
198
            'paperclip',
199
            'save',
200
            'floppy-o',
201
            'square',
202
            'navicon',
203
            'reorder',
204
            'bars',
205
            'list-ul',
206
            'list-ol',
207
            'strikethrough',
208
            'underline',
209
            'table',
210
            'magic',
211
            'truck',
212
            'pinterest',
213
            'pinterest-square',
214
            'google-plus-square',
215
            'google-plus',
216
            'money',
217
            'caret-down',
218
            'caret-up',
219
            'caret-left',
220
            'caret-right',
221
            'columns',
222
            'unsorted',
223
            'sort',
224
            'sort-down',
225
            'sort-desc',
226
            'sort-up',
227
            'sort-asc',
228
            'envelope',
229
            'linkedin',
230
            'rotate-left',
231
            'undo',
232
            'legal',
233
            'gavel',
234
            'dashboard',
235
            'tachometer',
236
            'comment-o',
237
            'comments-o',
238
            'flash',
239
            'bolt',
240
            'sitemap',
241
            'umbrella',
242
            'paste',
243
            'clipboard',
244
            'lightbulb-o',
245
            'exchange',
246
            'cloud-download',
247
            'cloud-upload',
248
            'user-md',
249
            'stethoscope',
250
            'suitcase',
251
            'bell-o',
252
            'coffee',
253
            'cutlery',
254
            'file-text-o',
255
            'building-o',
256
            'hospital-o',
257
            'ambulance',
258
            'medkit',
259
            'fighter-jet',
260
            'beer',
261
            'h-square',
262
            'plus-square',
263
            'angle-double-left',
264
            'angle-double-right',
265
            'angle-double-up',
266
            'angle-double-down',
267
            'angle-left',
268
            'angle-right',
269
            'angle-up',
270
            'angle-down',
271
            'desktop',
272
            'laptop',
273
            'tablet',
274
            'mobile-phone',
275
            'mobile',
276
            'circle-o',
277
            'quote-left',
278
            'quote-right',
279
            'spinner',
280
            'circle',
281
            'mail-reply',
282
            'reply',
283
            'github-alt',
284
            'folder-o',
285
            'folder-open-o',
286
            'smile-o',
287
            'frown-o',
288
            'meh-o',
289
            'gamepad',
290
            'keyboard-o',
291
            'flag-o',
292
            'flag-checkered',
293
            'terminal',
294
            'code',
295
            'mail-reply-all',
296
            'reply-all',
297
            'star-half-empty',
298
            'star-half-full',
299
            'star-half-o',
300
            'location-arrow',
301
            'crop',
302
            'code-fork',
303
            'unlink',
304
            'chain-broken',
305
            'question',
306
            'info',
307
            'exclamation',
308
            'superscript',
309
            'subscript',
310
            'eraser',
311
            'puzzle-piece',
312
            'microphone',
313
            'microphone-slash',
314
            'shield',
315
            'calendar-o',
316
            'fire-extinguisher',
317
            'rocket',
318
            'maxcdn',
319
            'chevron-circle-left',
320
            'chevron-circle-right',
321
            'chevron-circle-up',
322
            'chevron-circle-down',
323
            'html5',
324
            'css3',
325
            'anchor',
326
            'unlock-alt',
327
            'bullseye',
328
            'ellipsis-h',
329
            'ellipsis-v',
330
            'rss-square',
331
            'play-circle',
332
            'ticket',
333
            'minus-square',
334
            'minus-square-o',
335
            'level-up',
336
            'level-down',
337
            'check-square',
338
            'pencil-square',
339
            'external-link-square',
340
            'share-square',
341
            'compass',
342
            'toggle-down',
343
            'caret-square-o-down',
344
            'toggle-up',
345
            'caret-square-o-up',
346
            'toggle-right',
347
            'caret-square-o-right',
348
            'euro',
349
            'eur',
350
            'gbp',
351
            'dollar',
352
            'usd',
353
            'rupee',
354
            'inr',
355
            'cny',
356
            'rmb',
357
            'yen',
358
            'jpy',
359
            'ruble',
360
            'rouble',
361
            'rub',
362
            'won',
363
            'krw',
364
            'bitcoin',
365
            'btc',
366
            'file',
367
            'file-text',
368
            'sort-alpha-asc',
369
            'sort-alpha-desc',
370
            'sort-amount-asc',
371
            'sort-amount-desc',
372
            'sort-numeric-asc',
373
            'sort-numeric-desc',
374
            'thumbs-up',
375
            'thumbs-down',
376
            'youtube-square',
377
            'youtube',
378
            'xing',
379
            'xing-square',
380
            'youtube-play',
381
            'dropbox',
382
            'stack-overflow',
383
            'instagram',
384
            'flickr',
385
            'adn',
386
            'bitbucket',
387
            'bitbucket-square',
388
            'tumblr',
389
            'tumblr-square',
390
            'long-arrow-down',
391
            'long-arrow-up',
392
            'long-arrow-left',
393
            'long-arrow-right',
394
            'apple',
395
            'windows',
396
            'android',
397
            'linux',
398
            'dribbble',
399
            'skype',
400
            'foursquare',
401
            'trello',
402
            'female',
403
            'male',
404
            'gittip',
405
            'gratipay',
406
            'sun-o',
407
            'moon-o',
408
            'archive',
409
            'bug',
410
            'vk',
411
            'weibo',
412
            'renren',
413
            'pagelines',
414
            'stack-exchange',
415
            'arrow-circle-o-right',
416
            'arrow-circle-o-left',
417
            'toggle-left',
418
            'caret-square-o-left',
419
            'dot-circle-o',
420
            'wheelchair',
421
            'vimeo-square',
422
            'turkish-lira',
423
            'try',
424
            'plus-square-o',
425
            'space-shuttle',
426
            'slack',
427
            'envelope-square',
428
            'wordpress',
429
            'openid',
430
            'institution',
431
            'bank',
432
            'university',
433
            'mortar-board',
434
            'graduation-cap',
435
            'yahoo',
436
            'google',
437
            'reddit',
438
            'reddit-square',
439
            'stumbleupon-circle',
440
            'stumbleupon',
441
            'delicious',
442
            'digg',
443
            'pied-piper',
444
            'pied-piper-alt',
445
            'drupal',
446
            'joomla',
447
            'language',
448
            'fax',
449
            'building',
450
            'child',
451
            'paw',
452
            'spoon',
453
            'cube',
454
            'cubes',
455
            'behance',
456
            'behance-square',
457
            'steam',
458
            'steam-square',
459
            'recycle',
460
            'automobile',
461
            'car',
462
            'cab',
463
            'taxi',
464
            'tree',
465
            'spotify',
466
            'deviantart',
467
            'soundcloud',
468
            'database',
469
            'file-pdf-o',
470
            'file-word-o',
471
            'file-excel-o',
472
            'file-powerpoint-o',
473
            'file-photo-o',
474
            'file-picture-o',
475
            'file-image-o',
476
            'file-zip-o',
477
            'file-archive-o',
478
            'file-sound-o',
479
            'file-audio-o',
480
            'file-movie-o',
481
            'file-video-o',
482
            'file-code-o',
483
            'vine',
484
            'codepen',
485
            'jsfiddle',
486
            'life-bouy',
487
            'life-buoy',
488
            'life-saver',
489
            'support',
490
            'life-ring',
491
            'circle-o-notch',
492
            'ra',
493
            'rebel',
494
            'ge',
495
            'empire',
496
            'git-square',
497
            'git',
498
            'y-combinator-square',
499
            'yc-square',
500
            'hacker-news',
501
            'tencent-weibo',
502
            'qq',
503
            'wechat',
504
            'weixin',
505
            'send',
506
            'paper-plane',
507
            'send-o',
508
            'paper-plane-o',
509
            'history',
510
            'circle-thin',
511
            'header',
512
            'paragraph',
513
            'sliders',
514
            'share-alt',
515
            'share-alt-square',
516
            'bomb',
517
            'soccer-ball-o',
518
            'futbol-o',
519
            'tty',
520
            'binoculars',
521
            'plug',
522
            'slideshare',
523
            'twitch',
524
            'yelp',
525
            'newspaper-o',
526
            'wifi',
527
            'calculator',
528
            'paypal',
529
            'google-wallet',
530
            'cc-visa',
531
            'cc-mastercard',
532
            'cc-discover',
533
            'cc-amex',
534
            'cc-paypal',
535
            'cc-stripe',
536
            'bell-slash',
537
            'bell-slash-o',
538
            'trash',
539
            'copyright',
540
            'at',
541
            'eyedropper',
542
            'paint-brush',
543
            'birthday-cake',
544
            'area-chart',
545
            'pie-chart',
546
            'line-chart',
547
            'lastfm',
548
            'lastfm-square',
549
            'toggle-off',
550
            'toggle-on',
551
            'bicycle',
552
            'bus',
553
            'ioxhost',
554
            'angellist',
555
            'cc',
556
            'shekel',
557
            'sheqel',
558
            'ils',
559
            'meanpath',
560
            'buysellads',
561
            'connectdevelop',
562
            'dashcube',
563
            'forumbee',
564
            'leanpub',
565
            'sellsy',
566
            'shirtsinbulk',
567
            'simplybuilt',
568
            'skyatlas',
569
            'cart-plus',
570
            'cart-arrow-down',
571
            'diamond',
572
            'ship',
573
            'user-secret',
574
            'motorcycle',
575
            'street-view',
576
            'heartbeat',
577
            'venus',
578
            'mars',
579
            'mercury',
580
            'intersex',
581
            'transgender',
582
            'transgender-alt',
583
            'venus-double',
584
            'mars-double',
585
            'venus-mars',
586
            'mars-stroke',
587
            'mars-stroke-v',
588
            'mars-stroke-h',
589
            'neuter',
590
            'genderless',
591
            'facebook-official',
592
            'pinterest-p',
593
            'whatsapp',
594
            'server',
595
            'user-plus',
596
            'user-times',
597
            'hotel',
598
            'bed',
599
            'viacoin',
600
            'train',
601
            'subway',
602
            'medium',
603
            'yc',
604
            'y-combinator',
605
            'optin-monster',
606
            'opencart',
607
            'expeditedssl',
608
            'battery-4',
609
            'battery-full',
610
            'battery-3',
611
            'battery-three-quarters',
612
            'battery-2',
613
            'battery-half',
614
            'battery-1',
615
            'battery-quarter',
616
            'battery-0',
617
            'battery-empty',
618
            'mouse-pointer',
619
            'i-cursor',
620
            'object-group',
621
            'object-ungroup',
622
            'sticky-note',
623
            'sticky-note-o',
624
            'cc-jcb',
625
            'cc-diners-club',
626
            'clone',
627
            'balance-scale',
628
            'hourglass-o',
629
            'hourglass-1',
630
            'hourglass-start',
631
            'hourglass-2',
632
            'hourglass-half',
633
            'hourglass-3',
634
            'hourglass-end',
635
            'hourglass',
636
            'hand-grab-o',
637
            'hand-rock-o',
638
            'hand-stop-o',
639
            'hand-paper-o',
640
            'hand-scissors-o',
641
            'hand-lizard-o',
642
            'hand-spock-o',
643
            'hand-pointer-o',
644
            'hand-peace-o',
645
            'trademark',
646
            'registered',
647
            'creative-commons',
648
            'gg',
649
            'gg-circle',
650
            'tripadvisor',
651
            'odnoklassniki',
652
            'odnoklassniki-square',
653
            'get-pocket',
654
            'wikipedia-w',
655
            'safari',
656
            'chrome',
657
            'firefox',
658
            'opera',
659
            'internet-explorer',
660
            'tv',
661
            'television',
662
            'contao',
663
            '500px',
664
            'amazon',
665
            'calendar-plus-o',
666
            'calendar-minus-o',
667
            'calendar-times-o',
668
            'calendar-check-o',
669
            'industry',
670
            'map-pin',
671
            'map-signs',
672
            'map-o',
673
            'map',
674
            'commenting',
675
            'commenting-o',
676
            'houzz',
677
            'vimeo',
678
            'black-tie',
679
            'fonticons',
680
            'reddit-alien',
681
            'edge',
682
            'credit-card-alt',
683
            'codiepie',
684
            'modx',
685
            'fort-awesome',
686
            'usb',
687
            'product-hunt',
688
            'mixcloud',
689
            'scribd',
690
            'pause-circle',
691
            'pause-circle-o',
692
            'stop-circle',
693
            'stop-circle-o',
694
            'shopping-bag',
695
            'shopping-basket',
696
            'hashtag',
697
            'bluetooth',
698
            'bluetooth-b',
699
            'percent',
700
        ];
701
    }
702
}