prefix stringlengths 512 512 | suffix stringlengths 256 256 | middle stringlengths 14 229 | meta dict |
|---|---|---|---|
iscirt',
'am' => 'Amáiris',
'an' => 'Aragóinis',
'ang' => 'Sean-Bhéarla',
'ann' => 'Obolo',
'anp' => 'Aingícis',
'ar' => 'Araibis',
'arc' => 'Aramais',
'arn' => 'Mapúitsis',
'arp' => 'Arapachóis',
'ars' => 'Araibis Najdi',
'as' => '... | 'bez' => 'Beinis',
'bg' => 'Bulgáiris',
'bgc' => 'Haryanvi',
'bho' => 'Vóispiris',
'bi' => 'Bioslaimis',
'bin' => 'Binis',
'bla' => 'Sicsicis',
'blo' => 'Anii',
'bm' => 'Bambairis',
' | => 'Asarbaiseáinis',
'ba' => 'Baiscíris',
'bal' => 'Balúitsis',
'ban' => 'Bailís',
'bar' => 'Baváiris',
'bas' => 'Basáis',
'be' => 'Bealarúisis',
'bem' => 'Beimbis',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/ga.php",
"language": "php",
"file_size": 15494,
"cut_index": 921,
"middle_length": 229
} |
=> 'aleutski',
'alt' => 'južni altai',
'am' => 'amharski',
'an' => 'aragonski',
'ang' => 'staroengleski',
'ann' => 'obolo',
'anp' => 'angika',
'ar' => 'arapski',
'arc' => 'aramejski',
'arn' => 'mapuche',
'arp' => 'arapaho',
'ars' =>... | 'bbj' => 'ghomala',
'be' => 'bjeloruski',
'bej' => 'beja',
'bem' => 'bemba',
'bez' => 'bena',
'bfd' => 'bafut',
'bg' => 'bugarski',
'bgc' => 'haryanvi',
'bgn' => 'zapadnobaludžijski',
| 'awa' => 'awadhi',
'ay' => 'ajmarski',
'az' => 'azerbajdžanski',
'ba' => 'baškirski',
'bal' => 'belučki',
'ban' => 'balijski',
'bas' => 'basa',
'bax' => 'bamunski',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/hr.php",
"language": "php",
"file_size": 17101,
"cut_index": 921,
"middle_length": 229
} |
'obolo',
'anp' => 'angika',
'apc' => 'arabe levantin',
'ar' => 'arabe',
'arn' => 'mapuche',
'arp' => 'arapaho',
'ars' => 'arabe najdi',
'as' => 'assamese',
'asa' => 'asu',
'ast' => 'asturiano',
'atj' => 'atikamekw',
'av' => 'avaro',... | jpuri',
'bi' => 'bislama',
'bin' => 'bini',
'bla' => 'siksika',
'blo' => 'anii',
'blt' => 'tai dam',
'bm' => 'bambara',
'bn' => 'bengalese',
'bo' => 'tibetano',
'bqi' => 'bakhtiari',
| aa',
'be' => 'bielorusso',
'bem' => 'bemba',
'bew' => 'betawi',
'bez' => 'bena',
'bg' => 'bulgaro',
'bgc' => 'haryanvi',
'bgn' => 'baluchi occidental',
'bho' => 'bho | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/ia.php",
"language": "php",
"file_size": 13440,
"cut_index": 921,
"middle_length": 229
} |
s' => [
'ar' => 'arabic',
'cs' => 'tchec',
'da' => 'danesi',
'de' => 'german',
'el' => 'grec',
'en' => 'anglesi',
'eo' => 'Esperanto',
'es' => 'hispan',
'et' => 'estonian',
'fa' => 'persian',
'fi' => 'finn',
'fil' => 'filipi... | ian',
'ko' => 'korean',
'lij' => 'ligurian',
'lv' => 'lettonian',
'mt' => 'maltesi',
'nl' => 'hollandesi',
'pl' => 'polonesi',
'prg' => 'prussian',
'pt' => 'portugalesi',
'ru' => 'russ | ian',
'ia' => 'Interlingua',
'id' => 'indonesian',
'ie' => 'Interlingue',
'is' => 'islandesi',
'it' => 'italian',
'ja' => 'japanesi',
'jv' => 'javan',
'ka' => 'georg | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/ie.php",
"language": "php",
"file_size": 1890,
"cut_index": 537,
"middle_length": 229
} |
akz' => 'アラバマ語',
'ale' => 'アレウト語',
'aln' => 'ゲグ・アルバニア語',
'alt' => '南アルタイ語',
'am' => 'アムハラ語',
'an' => 'アラゴン語',
'ang' => '古英語',
'ann' => 'オボロ語',
'anp' => 'アンギカ語',
'ar' => 'アラビア語',
'arc' => 'アラム語',
'arn' => 'マプチェ語',
'aro' => 'ア... | ,
'az' => 'アゼルバイジャン語',
'ba' => 'バシキール語',
'bal' => 'バルーチー語',
'ban' => 'バリ語',
'bar' => 'バイエルン・オーストリア語',
'bas' => 'バサ語',
'bax' => 'バムン語',
'bbc' => 'トバ・バタク語',
'bbj' => 'ゴーマラ語',
'be | 'as' => 'アッサム語',
'asa' => 'アス語',
'ase' => 'アメリカ手話',
'ast' => 'アストゥリアス語',
'atj' => 'アティカメク語',
'av' => 'アヴァル語',
'avk' => 'コタヴァ',
'awa' => 'アワディー語',
'ay' => 'アイマラ語' | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/ja.php",
"language": "php",
"file_size": 24412,
"cut_index": 921,
"middle_length": 229
} |
n [
'Names' => [
'ak' => 'Kiakan',
'am' => 'Kiamhari',
'ar' => 'Kĩarabu',
'be' => 'Kibelarusi',
'bg' => 'Kibulgaria',
'bn' => 'Kibangla',
'cs' => 'Kichecki',
'de' => 'Kĩnjeremani',
'el' => 'Kigiriki',
'en' => 'Gĩthungũ',
'es' =>... | > 'Kiburma',
'ne' => 'Kinepali',
'nl' => 'Kiholanzi',
'pa' => 'Kipunjabi',
'pl' => 'Kipolandi',
'pt' => 'Kireno',
'ro' => 'Kiromania',
'ru' => 'Kĩracia',
'rw' => 'Kinyarwanda',
'so' => | 'ig' => 'Kiigbo',
'it' => 'Kĩtaliano',
'ja' => 'Kĩnjabani',
'jv' => 'Kijava',
'ki' => 'Gikuyu',
'km' => 'Kikambodia',
'ko' => 'Kikorea',
'ms' => 'Kimalesia',
'my' = | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/ki.php",
"language": "php",
"file_size": 1353,
"cut_index": 524,
"middle_length": 229
} |
бхазаг',
'ady' => 'адыгейаг',
'ae' => 'авестӕ',
'af' => 'африкаанс',
'ang' => 'рагон англисаг',
'ar' => 'араббаг',
'av' => 'авайраг',
'az' => 'тӕтӕйраг',
'ba' => 'башкираг',
'bg' => 'болгайраг',
'bs' => 'босниаг',
'bua' => 'бурятаг'... | ',
'fi' => 'финнаг',
'fil' => 'филиппинаг',
'fj' => 'фиджи',
'fo' => 'фарераг',
'fr' => 'францаг',
'fro' => 'рагон францаг',
'ga' => 'ирландиаг',
'grc' => 'рагон бердзейнаг',
'he' => ' | 'egy' => 'рагон египтаг',
'el' => 'бердзейнаг',
'en' => 'англисаг',
'eo' => 'есперанто',
'es' => 'испайнаг',
'et' => 'естойнаг',
'eu' => 'баскаг',
'fa' => 'персайнаг | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/os.php",
"language": "php",
"file_size": 2906,
"cut_index": 563,
"middle_length": 229
} |
'ang' => 'ਪੁਰਾਣੀ ਅੰਗਰੇਜ਼ੀ',
'ann' => 'ਓਬੋਲੋ',
'anp' => 'ਅੰਗਿਕਾ',
'ar' => 'ਅਰਬੀ',
'arn' => 'ਮਾਪੁਚੇ',
'arp' => 'ਅਰਾਫਾਓ',
'ars' => 'ਨਾਜਦੀ ਅਰਬੀ',
'as' => 'ਅਸਾਮੀ',
'asa' => 'ਅਸੂ',
'ast' => 'ਅਸਤੂਰੀ',
'atj' => 'ਅਤਿਕਾਮੇਕਵ',
'av' => 'ਅਵ... | 'bin' => 'ਬਿਨੀ',
'bla' => 'ਸਿਕਸਿਕਾ',
'blo' => 'ਅਨੀ',
'bm' => 'ਬੰਬਾਰਾ',
'bn' => 'ਬੰਗਾਲੀ',
'bo' => 'ਤਿੱਬਤੀ',
'br' => 'ਬਰੇਟਨ',
'brx' => 'ਬੋਡੋ',
'bs' => 'ਬੋਸਨੀਆਈ',
'bug' => 'ਬਗਨੀਜ਼',
| ',
'be' => 'ਬੇਲਾਰੂਸੀ',
'bem' => 'ਬੇਂਬਾ',
'bez' => 'ਬੇਨਾ',
'bg' => 'ਬੁਲਗਾਰੀਆਈ',
'bgc' => 'ਹਰਿਆਣਵੀ',
'bgn' => 'ਪੱਛਮੀ ਬਲੂਚੀ',
'bho' => 'ਭੋਜਪੁਰੀ',
'bi' => 'ਬਿਸਲਾਮਾ',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/pa.php",
"language": "php",
"file_size": 19182,
"cut_index": 921,
"middle_length": 229
} |
'alt' => 'altai meridional',
'am' => 'amárico',
'an' => 'aragonês',
'ang' => 'inglês arcaico',
'ann' => 'obolo',
'anp' => 'angika',
'ar' => 'árabe',
'arc' => 'aramaico',
'arn' => 'mapudungun',
'arp' => 'arapaho',
'ars' => 'árabe nége... | 'be' => 'bielorrusso',
'bej' => 'beja',
'bem' => 'bemba',
'bez' => 'bena',
'bfd' => 'bafut',
'bg' => 'búlgaro',
'bgc' => 'hariani',
'bgn' => 'balúchi ocidental',
'bho' => 'bhojpuri',
| adhi',
'ay' => 'aimará',
'az' => 'azerbaijano',
'ba' => 'bashkir',
'bal' => 'balúchi',
'ban' => 'balinês',
'bas' => 'basa',
'bax' => 'bamum',
'bbj' => 'ghomala’',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/pt.php",
"language": "php",
"file_size": 16361,
"cut_index": 921,
"middle_length": 229
} |
o Simi',
'anp' => 'Angika',
'ar' => 'Arabe Simi',
'arn' => 'Mapuche Simi',
'arp' => 'Arapaho',
'ars' => 'Árabe Najdi Simi',
'as' => 'Asames Simi',
'asa' => 'Asu Simi',
'ast' => 'Asturiano Simi',
'atj' => 'Atikamekw',
'av' => 'Avaric',
... | => 'Bislama',
'bin' => 'Bini',
'bla' => 'Siksiká Simi',
'blo' => 'Anii Simi',
'bm' => 'Bambara Simi',
'bn' => 'Bangla Simi',
'bo' => 'Tibetano Simi',
'br' => 'Breton Simi',
'brx' => 'Bodo Simi | 'bas' => 'Basaa Simi',
'be' => 'Bielorruso Simi',
'bem' => 'Bemba Simi',
'bez' => 'Bena Simi',
'bg' => 'Bulgaro Simi',
'bgc' => 'Haryanvi',
'bho' => 'Bhojpuri Simi',
'bi' | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/qu.php",
"language": "php",
"file_size": 14288,
"cut_index": 921,
"middle_length": 229
} |
'alt' => 'altaic dal sid',
'am' => 'amaric',
'an' => 'aragonais',
'ang' => 'englais vegl',
'anp' => 'angika',
'ar' => 'arab',
'arc' => 'arameic',
'arn' => 'araucanic',
'arp' => 'arapaho',
'arw' => 'arawak',
'as' => 'assami',
... | 'bgc' => 'haryanvi',
'bho' => 'bhojpuri',
'bi' => 'bislama',
'bik' => 'bikol',
'bin' => 'bini',
'bla' => 'siksika',
'blo' => 'anii',
'bm' => 'bambara',
'bn' => 'lingua bengala',
| ,
'bal' => 'belutschi',
'ban' => 'balinais',
'bas' => 'basaa',
'be' => 'lingua bielorussa',
'bej' => 'bedscha',
'bem' => 'bemba',
'bez' => 'bena',
'bg' => 'bulgar',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/rm.php",
"language": "php",
"file_size": 14414,
"cut_index": 921,
"middle_length": 229
} |
ale' => 'алеутский',
'alt' => 'южноалтайский',
'am' => 'амхарский',
'an' => 'арагонский',
'ang' => 'староанглийский',
'ann' => 'оболо',
'anp' => 'ангика',
'ar' => 'арабский',
'arc' => 'арамейский',
'arn' => 'мапуче',
'arp' => 'арапахо',
... | 'bax' => 'бамум',
'bbj' => 'гомала',
'be' => 'белорусский',
'bej' => 'беджа',
'bem' => 'бемба',
'bez' => 'бена',
'bfd' => 'бафут',
'bg' => 'болгарский',
'bgc' => 'харианви',
'bgn' => | av' => 'аварский',
'awa' => 'авадхи',
'ay' => 'аймара',
'az' => 'азербайджанский',
'ba' => 'башкирский',
'bal' => 'белуджский',
'ban' => 'балийский',
'bas' => 'баса',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/ru.php",
"language": "php",
"file_size": 22437,
"cut_index": 921,
"middle_length": 229
} |
return [
'Names' => [
'ace' => 'अचिनीस्',
'ach' => 'अचोलि',
'anp' => 'अङ्गिक',
'de' => 'जर्मनभाषा:',
'en' => 'आङ्ग्लभाषा',
'es' => 'स्पेनीय भाषा:',
'fr' => 'फ़्रांसदेशीय भाषा:',
'it' => 'इटलीदेशीय भाषा:',
'ja' => 'सूर्यमूलीय भाषा:',
'p... | ा:',
'es_419' => 'लैटिन अमेरिकादेशीय स्पेनीय भाषा:',
'es_ES' => 'फिरङ्गिन् स्पेनीय भाषा:',
'es_MX' => 'मैक्सिकन स्पेनीय भाषा:',
'fr_CA' => 'कनाडादेशः फ़्रांसदेशीय भाषा:',
'fr_CH' => 'स्विस फ़्रांसदेशीय भाषा:',
| ा:',
'de_CH' => 'स्विस उच्च जर्मनभाषा:',
'en_AU' => 'ऑस्ट्रेलियादेशः आङ्ग्लभाषा',
'en_CA' => 'कनाडादेशः आङ्ग्लभाषा',
'en_GB' => 'आङ्ग्लदेशीय आङ्ग्लभाषा:',
'en_US' => 'अमेरिकादेशीय आङ्ग्लभाष | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/sa.php",
"language": "php",
"file_size": 2085,
"cut_index": 518,
"middle_length": 229
} |
'anp' => 'انجيڪا',
'ar' => 'عربي',
'arn' => 'ماپوچي',
'arp' => 'اراپائو',
'ars' => 'نجدي عربي',
'as' => 'آسامي',
'asa' => 'اسو',
'ast' => 'اسٽورين',
'atj' => 'اٽيڪاميڪو',
'av' => 'اويرس',
'awa' => 'اواڌي',
'ay' => 'ایمارا',
... | ا',
'bn' => 'بنگلا',
'bo' => 'تبيتائي',
'br' => 'بريٽن',
'brx' => 'بودو',
'bs' => 'بوسنيائي',
'bug' => 'بگنيز',
'byn' => 'بلن',
'ca' => 'ڪيٽالان',
'cay' => 'ڪايوگا',
'ccp' => ' | 'bez' => 'بينا',
'bg' => 'بلغاريائي',
'bgc' => 'ھريانوي',
'bho' => 'ڀوجپوري',
'bi' => 'بسلاما',
'bin' => 'بني',
'bla' => 'سڪسڪا',
'blo' => 'آنيائي',
'bm' => 'بمبار | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/sd.php",
"language": "php",
"file_size": 15171,
"cut_index": 921,
"middle_length": 229
} |
'de' => 'जर्मन',
'en' => 'अंगरेज़ी',
'es' => 'स्पेनिश',
'fr' => 'फ्रेंच',
'it' => 'इटालियनु',
'ja' => 'जापानी',
'pt' => 'पुर्तगाली',
'ru' => 'रशियनु',
'sd' => 'सिन्धी',
'zh' => 'चीनी (तर्जुमे जो द॒स :खास करे, मैन्डरिन चीनी)',
],
'Loca... | स्पैनिश',
'es_MX' => 'मेक्सिकन स्पैनिश',
'fr_CA' => 'कैनेडियन फ्रेंच',
'fr_CH' => 'स्विस फ्रेंच',
'pt_BR' => 'ब्राज़ीलियन पुर्तगाली',
'pt_PT' => 'यूरोपी पुर्तगाली',
'zh_Hans' => 'सादी थियल चीनी',
'zh_ | 'लैटिन अमेरिकन स्पैनिश',
'es_ES' => 'यूरोपी | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/sd_Deva.php",
"language": "php",
"file_size": 1453,
"cut_index": 547,
"middle_length": 52
} |
'alt' => 'દક્ષિણ અલ્તાઇ',
'am' => 'એમ્હારિક',
'an' => 'અર્ગોનીઝ',
'ang' => 'જુની અંગ્રેજી',
'ann' => 'ઓબોલો',
'anp' => 'અંગીકા',
'ar' => 'અરબી',
'arc' => 'એરમૈક',
'arn' => 'મેપુચે',
'arp' => 'અરાપાહો',
'arq' => 'આલ્જેરિયન અરબી',
... | 'bas' => 'બસા',
'bax' => 'બામન',
'be' => 'બેલારુશિયન',
'bej' => 'બેજા',
'bem' => 'બેમ્બા',
'bez' => 'બેના',
'bg' => 'બલ્ગેરિયન',
'bgc' => 'હરિયાણવી',
'bgn' => 'પશ્ચિમી બાલોચી',
'b | ્તુરિયન',
'atj' => 'એટીકામેકવ',
'av' => 'અવેરિક',
'awa' => 'અવધી',
'ay' => 'આયમારા',
'az' => 'અઝરબૈજાની',
'ba' => 'બશ્કીર',
'bal' => 'બલૂચી',
'ban' => 'બાલિનીસ',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/gu.php",
"language": "php",
"file_size": 24954,
"cut_index": 921,
"middle_length": 229
} |
'alt' => 'dél-altaji',
'am' => 'amhara',
'an' => 'aragonéz',
'ang' => 'óangol',
'ann' => 'obolo',
'anp' => 'angika',
'apc' => 'levantei arab',
'ar' => 'arab',
'arc' => 'arámi',
'arn' => 'mapucse',
'arp' => 'arapaho',
'ars' => 'ned... | 'be' => 'belarusz',
'bej' => 'bedzsa',
'bem' => 'bemba',
'bez' => 'bena',
'bfd' => 'bafut',
'bg' => 'bolgár',
'bgc' => 'haryanvi',
'bgn' => 'nyugati beludzs',
'bho' => 'bodzspuri',
| di',
'ay' => 'ajmara',
'az' => 'azerbajdzsáni',
'ba' => 'baskír',
'bal' => 'balucsi',
'ban' => 'balinéz',
'bas' => 'basza',
'bax' => 'bamun',
'bbj' => 'gomala',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/hu.php",
"language": "php",
"file_size": 16558,
"cut_index": 921,
"middle_length": 229
} |
'ar' => 'Arabiffaa',
'as' => 'Assamese',
'ast' => 'Astuuriyaan',
'az' => 'Afaan Azerbaijani',
'be' => 'Afaan Belarusia',
'bg' => 'Afaan Bulgariya',
'bgc' => 'Haryanvi',
'bho' => 'Bihoojpuurii',
'blo' => 'Anii',
'bn' => 'Afaan Baangladeshi',
... | ii',
'eo' => 'Afaan Esperantoo',
'es' => 'Afaan Ispeen',
'et' => 'Afaan Istooniya',
'eu' => 'Afaan Baskuu',
'fa' => 'Afaan Persia',
'ff' => 'Fula',
'fi' => 'Afaan Fiilaandi',
'fil' => 'Afaan F | faan Czech',
'cv' => 'Chuvash',
'cy' => 'Welishiffaa',
'da' => 'Afaan Deenmaark',
'de' => 'Afaan Jarmanii',
'doi' => 'Dogri',
'el' => 'Afaan Giriiki',
'en' => 'Afaan Ingiliz | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/om.php",
"language": "php",
"file_size": 4027,
"cut_index": 614,
"middle_length": 229
} |
'arp' => 'arapaho',
'arq' => 'algierski arabski',
'ars' => 'arabski nadżdyjski',
'arw' => 'arawak',
'ary' => 'marokański arabski',
'arz' => 'egipski arabski',
'as' => 'asamski',
'asa' => 'asu',
'ase' => 'amerykański język migowy',
'ast' =>... | 'be' => 'białoruski',
'bej' => 'bedża',
'bem' => 'bemba',
'bew' => 'betawi',
'bez' => 'bena',
'bfd' => 'bafut',
'bfq' => 'badaga',
'bg' => 'bułgarski',
'bgc' => 'haryanvi',
'bgn' => 'b | 'ba' => 'baszkirski',
'bal' => 'beludżi',
'ban' => 'balijski',
'bar' => 'bawarski',
'bas' => 'basaa',
'bax' => 'bamum',
'bbc' => 'batak toba',
'bbj' => 'ghomala',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/pl.php",
"language": "php",
"file_size": 19660,
"cut_index": 1331,
"middle_length": 229
} |
'ang' => 'inglês antigo',
'arn' => 'mapuche',
'ars' => 'árabe do Négede',
'av' => 'avar',
'bax' => 'bamun',
'bbj' => 'ghomala',
'bn' => 'bengalês',
'bua' => 'buriat',
'ccp' => 'changma',
'chk' => 'chuquês',
'chn' => 'jargão chinook',
... | frísico ocidental',
'gez' => 'geʼez',
'goh' => 'alemão alto antigo',
'grc' => 'grego clássico',
'gsw' => 'alemão suíço',
'ha' => 'haúça',
'hy' => 'arménio',
'ikt' => 'inuktitut canadiano ocidental',
|
'cv' => 'chuvash',
'efi' => 'efik',
'egy' => 'egípcio clássico',
'et' => 'estónio',
'fon' => 'fon',
'fro' => 'francês antigo',
'frs' => 'frísio oriental',
'fy' => ' | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/pt_PT.php",
"language": "php",
"file_size": 3509,
"cut_index": 614,
"middle_length": 229
} |
'alt' => 'altaică meridională',
'am' => 'amharică',
'an' => 'aragoneză',
'ang' => 'engleză veche',
'ann' => 'obolo',
'anp' => 'angika',
'ar' => 'arabă',
'arc' => 'aramaică',
'arn' => 'mapuche',
'arp' => 'arapaho',
'ars' => 'arabă najd... | => 'belarusă',
'bej' => 'beja',
'bem' => 'bemba',
'bez' => 'bena',
'bfd' => 'bafut',
'bg' => 'bulgară',
'bgc' => 'haryanvi',
'bgn' => 'baluchi occidentală',
'bho' => 'bhojpuri',
'bi' | ,
'ay' => 'aymara',
'az' => 'azeră',
'ba' => 'bașkiră',
'bal' => 'baluchi',
'ban' => 'balineză',
'bas' => 'basaa',
'bax' => 'bamun',
'bbj' => 'ghomala',
'be' | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/ro.php",
"language": "php",
"file_size": 16466,
"cut_index": 921,
"middle_length": 229
} |
> 'obolo',
'anp' => 'angika',
'apc' => 'àrabu levantinu',
'ar' => 'àrabu',
'arn' => 'mapudungun',
'arp' => 'arapaho',
'ars' => 'àrabu najdi',
'as' => 'assamesu',
'asa' => 'asu',
'ast' => 'asturianu',
'atj' => 'atikamekw',
'av' => 'a... | 'bhojpuri',
'bi' => 'bislama',
'bin' => 'bini',
'bla' => 'pees nieddos',
'blo' => 'anii',
'blt' => 'tai dam',
'bm' => 'bambara',
'bn' => 'bengalesu',
'bo' => 'tibetanu',
'bqi' => 'bak | 'basaa',
'be' => 'bielorussu',
'bem' => 'bemba',
'bew' => 'betawi',
'bez' => 'bena',
'bg' => 'bùlgaru',
'bgc' => 'haryanvi',
'bgn' => 'baluci otzidentale',
'bho' => | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/sc.php",
"language": "php",
"file_size": 14140,
"cut_index": 921,
"middle_length": 229
} |
'arp' => 'arapaho',
'arq' => 'algerianarabia',
'ars' => 'arabia – najd',
'arw' => 'arawak',
'ary' => 'marokonarabia',
'arz' => 'egyptinarabia',
'as' => 'assami',
'asa' => 'asu',
'ase' => 'amerikkalainen viittomakieli',
'ast' => 'asturia',
'... | bedža',
'bem' => 'bemba',
'bew' => 'betawi',
'bez' => 'bena',
'bfd' => 'fut',
'bfq' => 'badaga',
'bg' => 'bulgaria',
'bgc' => 'haryanvi',
'bgn' => 'länsibelutši',
'bho' => 'bhodžpuri', | ' => 'belutši',
'ban' => 'bali',
'bar' => 'baijeri',
'bas' => 'basaa',
'bax' => 'bamum',
'bbc' => 'batak-toba',
'bbj' => 'ghomala',
'be' => 'valkovenäjä',
'bej' => ' | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/fi.php",
"language": "php",
"file_size": 18899,
"cut_index": 1331,
"middle_length": 229
} |
'akz' => 'Alabama',
'ale' => 'Aleut',
'alt' => 'Altai Selatan',
'am' => 'Amharik',
'an' => 'Aragon',
'ang' => 'Inggris Kuno',
'ann' => 'Obolo',
'anp' => 'Angika',
'ar' => 'Arab',
'arc' => 'Aram',
'arn' => 'Mapuche',
'arp' =>... | i',
'ba' => 'Bashkir',
'bal' => 'Baluchi',
'ban' => 'Bali',
'bar' => 'Bavaria',
'bas' => 'Basa',
'bax' => 'Bamun',
'bbc' => 'Batak Toba',
'bbj' => 'Ghomala',
'be' => 'Belarusia',
| 'asa' => 'Asu',
'ase' => 'Bahasa Isyarat Amerika',
'ast' => 'Asturia',
'atj' => 'Atikamekw',
'av' => 'Avar',
'awa' => 'Awadhi',
'ay' => 'Aymara',
'az' => 'Azerbaijan | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/in.php",
"language": "php",
"file_size": 16522,
"cut_index": 921,
"middle_length": 229
} |
'alt' => 'אלטאי דרומית',
'am' => 'אמהרית',
'an' => 'אראגונית',
'ang' => 'אנגלית עתיקה',
'ann' => 'אובולו',
'anp' => 'אנג׳יקה',
'ar' => 'ערבית',
'arc' => 'ארמית',
'arn' => 'אראוקנית',
'arp' => 'אראפהו',
'ars' => 'ערבית - נג׳ד',
'arw... | 'be' => 'בלארוסית',
'bej' => 'בז׳ה',
'bem' => 'במבה',
'bez' => 'בנה',
'bfd' => 'באפוט',
'bg' => 'בולגרית',
'bgc' => 'הריאנבי',
'bgn' => 'באלוצ׳י מערבית',
'bho' => 'בוג׳פורי',
'bi' | איימארית',
'az' => 'אזרית',
'ba' => 'בשקירית',
'bal' => 'באלוצ׳י',
'ban' => 'באלינזית',
'bar' => 'בווארית',
'bas' => 'בסאא',
'bax' => 'במום',
'bbj' => 'גומאלה',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/iw.php",
"language": "php",
"file_size": 19690,
"cut_index": 921,
"middle_length": 229
} |
'anp' => 'انگيکي',
'ar' => 'عربي',
'arn' => 'ماپوچه',
'arp' => 'اراپاهوي',
'ars' => 'نجدی عربی',
'as' => 'اسامي',
'asa' => 'اسويي',
'ast' => 'استورياني',
'atj' => 'اتیکامیکو',
'av' => 'اواري',
'awa' => 'اوادي',
'ay' => 'ایماري... | را',
'bn' => 'بنگالي',
'bo' => 'تبتي',
'br' => 'برېتون',
'brx' => 'بودو',
'bs' => 'بوسني',
'bug' => 'بگنيايي',
'byn' => 'بلین',
'ca' => 'کټلاني',
'cay' => 'Ca',
'ccp' => 'چکما' | 'bez' => 'بينا',
'bg' => 'بلغاري',
'bgc' => 'هریانوی',
'bho' => 'بهوجپوري',
'bi' => 'بسلاما',
'bin' => 'بینی',
'bla' => 'سکسيکا',
'blo' => 'انۍ',
'bm' => 'بمبا | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/ps.php",
"language": "php",
"file_size": 15252,
"cut_index": 921,
"middle_length": 229
} |
'ar' => 'Icyarabu',
'as' => 'Icyasamizi',
'az' => 'Inyazeribayijani',
'be' => 'Ikibelarusiya',
'bg' => 'Urunyabuligariya',
'bn' => 'Ikibengali',
'br' => 'Inyebiritoni',
'bs' => 'Inyebosiniya',
'ca' => 'Igikatalani',
'cs' => 'Igiceke',
... | sa',
'fy' => 'Igifiriziyani',
'ga' => 'Ikirilandi',
'gd' => 'Ikigaluwa cy’Igisweduwa',
'gl' => 'Ikigalisiya',
'gn' => 'Inyaguwarani',
'gu' => 'Inyegujarati',
'he' => 'Igiheburayo',
'hi' => 'Ig | yesipanyolo',
'et' => 'Icyesitoniya',
'eu' => 'Ikibasiki',
'fa' => 'Inyeperisi',
'fi' => 'Igifinilande',
'fil' => 'Ikinyafilipine',
'fo' => 'Inyefaroyizi',
'fr' => 'Igifaran | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/rw.php",
"language": "php",
"file_size": 3434,
"cut_index": 614,
"middle_length": 229
} |
p' => 'Angika',
'ar' => 'Larabci',
'arn' => 'Mapuche',
'arp' => 'Arapaho',
'ars' => 'Larabcin Najdi',
'as' => 'Asamisanci',
'asa' => 'Asu',
'ast' => 'Asturia',
'atj' => 'Atikamekw',
'av' => 'Avaric',
'awa' => 'Awadhi',
'ay' => 'Ayma... | 'Anii',
'bm' => 'Bambara',
'bn' => 'Bengali',
'bo' => 'Tibetan',
'br' => 'Buretananci',
'brx' => 'Bodo',
'bs' => 'Bosniyanci',
'bug' => 'Buginesanci',
'byn' => 'Blin',
'ca' => 'Katalo | 'bem' => 'Bemba',
'bez' => 'Bena',
'bg' => 'Bulgariyanci',
'bgc' => 'Haryanvi',
'bho' => 'Bhojpuri',
'bi' => 'Bislama',
'bin' => 'Bini',
'bla' => 'Siksiká',
'blo' => | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/ha.php",
"language": "php",
"file_size": 13164,
"cut_index": 921,
"middle_length": 229
} |
hp
return [
'Names' => [
'ab' => 'افریکانس',
'as' => 'اسامی',
'ast' => 'اتریشی',
'az' => 'آذربایجانی',
'ckb' => 'کردی سورانی',
'dv' => 'مالدیوی',
'es' => 'هسپانوی',
'fi' => 'فنلندی',
'ga' => 'آیرلندی',
'hr' => 'کروشیایی',
'id' ... | 'pt' => 'پرتگالی',
'sq' => 'البانیایی',
'srn' => 'زبان سرانان',
'sv' => 'سویدنی',
'sw' => 'سواحلی',
'tg' => 'تاجکی',
'zza' => 'زازاکی',
],
'LocalizedNames' => [
'ar_001' => 'عربی فصیح',
| 'میزویی',
'mai' => 'مایتیلی',
'mn' => 'مغلی',
'nb' => 'نروژی کتابی',
'ne' => 'نیپالی',
'nl' => 'هالندی',
'nn' => 'نروژی نو',
'no' => 'نارویژی',
'pl' => 'پولندی',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/fa_AF.php",
"language": "php",
"file_size": 1328,
"cut_index": 515,
"middle_length": 229
} |
ଇଟୁ',
'alt' => 'ଦକ୍ଷିଣ ଆଲ୍ଟାଇ',
'am' => 'ଆମହାରକି',
'an' => 'ଆର୍ଗୋନୀ',
'ang' => 'ପୁରୁଣା ଇଁରାଜୀ',
'ann' => 'ଅବୋଲା',
'anp' => 'ଅଁଗୀକା',
'ar' => 'ଆରବିକ୍',
'arc' => 'ଆରାମାଇକ୍',
'arn' => 'ମାପୁଚେ',
'arp' => 'ଆରାପାହୋ',
'ars' => 'ନାଜଦି ଆରବିକ... | 'bem' => 'ବେମ୍ବା',
'bez' => 'ବେନା',
'bg' => 'ବୁଲଗେରିଆନ୍',
'bgc' => 'ହରିୟାନଭି',
'bho' => 'ଭୋଜପୁରୀ',
'bi' => 'ବିସଲାମା',
'bik' => 'ବିକୋଲ୍',
'bin' => 'ବିନି',
'bla' => 'ସିକସିକା',
'blo' => |
'ay' => 'ଆୟମାରା',
'az' => 'ଆଜେରବାଇଜାନି',
'ba' => 'ବାଶକିର୍',
'bal' => 'ବାଲୁଚି',
'ban' => 'ବାଲିନୀଜ୍',
'bas' => 'ବାସା',
'be' => 'ବେଲାରୁଷିଆନ୍',
'bej' => 'ବେଜା',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/or.php",
"language": "php",
"file_size": 24892,
"cut_index": 921,
"middle_length": 229
} |
'anp' => 'angika',
'ar' => 'arab',
'arn' => 'mapuche',
'arp' => 'arapaxo',
'ars' => 'najd arab',
'as' => 'assam',
'asa' => 'asu',
'ast' => 'asturiy',
'atj' => 'atikamek',
'av' => 'avar',
'awa' => 'avadxi',
'ay' => 'aymara',
... | 'Anii',
'bm' => 'bambara',
'bn' => 'bengal',
'bo' => 'tibet',
'br' => 'breton',
'brx' => 'bodo',
'bs' => 'bosniy',
'bug' => 'bugi',
'byn' => 'blin',
'ca' => 'katalan',
'cay' => | z' => 'bena',
'bg' => 'bolgar',
'bgc' => 'harianvi',
'bgn' => 'g‘arbiy baluj',
'bho' => 'bxojpuri',
'bi' => 'bislama',
'bin' => 'bini',
'bla' => 'siksika',
'blo' => | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/uz.php",
"language": "php",
"file_size": 12813,
"cut_index": 921,
"middle_length": 229
} |
part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Data\Bundle\Writer;
use PHPUnit\Framework\Attributes\RequiresPhpExt... | iter = new JsonBundleWriter();
$this->directory = sys_get_temp_dir().'/JsonBundleWriterTest/'.random_int(1000, 9999);
$this->filesystem = new Filesystem();
$this->filesystem->mkdir($this->directory);
}
protected function t | k@gmail.com>
*/
class JsonBundleWriterTest extends TestCase
{
private JsonBundleWriter $writer;
private string $directory;
private Filesystem $filesystem;
protected function setUp(): void
{
$this->wr | {
"filepath": "src/Symfony/Component/Intl/Tests/Data/Bundle/Writer/JsonBundleWriterTest.php",
"language": "php",
"file_size": 1950,
"cut_index": 537,
"middle_length": 229
} |
part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Data\Bundle\Writer;
use PHPUnit\Framework\Attributes\RequiresPhpExt... | r = new PhpBundleWriter();
$this->directory = sys_get_temp_dir().'/PhpBundleWriterTest/'.random_int(1000, 9999);
$this->filesystem = new Filesystem();
$this->filesystem->mkdir($this->directory);
}
protected function tearDo | @gmail.com>
*/
class PhpBundleWriterTest extends TestCase
{
private PhpBundleWriter $writer;
private string $directory;
private Filesystem $filesystem;
protected function setUp(): void
{
$this->write | {
"filepath": "src/Symfony/Component/Intl/Tests/Data/Bundle/Writer/PhpBundleWriterTest.php",
"language": "php",
"file_size": 1961,
"cut_index": 537,
"middle_length": 229
} |
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Data\Bundle\Writer;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Intl\Data\Bundle\Writer\T... | ectory = sys_get_temp_dir().'/TextBundleWriterTest/'.random_int(1000, 9999);
$this->filesystem = new Filesystem();
$this->filesystem->mkdir($this->directory);
}
protected function tearDown(): void
{
$this->filesystem-> | ds TestCase
{
private TextBundleWriter $writer;
private string $directory;
private Filesystem $filesystem;
protected function setUp(): void
{
$this->writer = new TextBundleWriter();
$this->dir | {
"filepath": "src/Symfony/Component/Intl/Tests/Data/Bundle/Writer/TextBundleWriterTest.php",
"language": "php",
"file_size": 3548,
"cut_index": 614,
"middle_length": 229
} |
Bundle\Reader\BundleEntryReader;
use Symfony\Component\Intl\Data\Bundle\Reader\BundleEntryReaderInterface;
use Symfony\Component\Intl\Exception\MissingResourceException;
use Symfony\Component\Intl\Exception\ResourceBundleNotFoundException;
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class BundleEntryRea... | ,
];
private const MERGED_DATA = [
// no recursive merging -> too complicated
'Entries' => [
'Foo' => 'Bar',
'Bar' => 'Baz',
],
'Baz' => 'Foo',
'Version' => '2.0',
'Foo' => 'B | 'Foo' => 'Bar',
'Version' => '2.0',
];
private const FALLBACK_DATA = [
'Entries' => [
'Foo' => 'Foo',
'Bam' => 'Lah',
],
'Baz' => 'Foo',
'Version' => '1.0' | {
"filepath": "src/Symfony/Component/Intl/Tests/Data/Bundle/Reader/BundleEntryReaderTest.php",
"language": "php",
"file_size": 15044,
"cut_index": 921,
"middle_length": 229
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Data\Bundle\Reader;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framew... | {
$this->reader = new IntlBundleReader();
}
public function testReadReturnsArrayAccess()
{
$data = $this->reader->read(__DIR__.'/Fixtures/res', 'ro');
$this->assertInstanceOf(\ArrayAccess::class, $data);
$this- | Exception;
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
#[RequiresPhpExtension('intl')]
class IntlBundleReaderTest extends TestCase
{
private IntlBundleReader $reader;
protected function setUp(): void
| {
"filepath": "src/Symfony/Component/Intl/Tests/Data/Bundle/Reader/IntlBundleReaderTest.php",
"language": "php",
"file_size": 2959,
"cut_index": 563,
"middle_length": 229
} |
part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Data\Bundle\Reader;
use PHPUnit\Framework\TestCase;
use Symfony\Com... | public function testReadReturnsArray()
{
$data = $this->reader->read(__DIR__.'/Fixtures/json', 'en');
$this->assertIsArray($data);
$this->assertSame('Bar', $data['Foo']);
$this->assertArrayNotHasKey('ExistsNot', $data); | rnhard Schussek <bschussek@gmail.com>
*/
class JsonBundleReaderTest extends TestCase
{
private JsonBundleReader $reader;
protected function setUp(): void
{
$this->reader = new JsonBundleReader();
}
| {
"filepath": "src/Symfony/Component/Intl/Tests/Data/Bundle/Reader/JsonBundleReaderTest.php",
"language": "php",
"file_size": 2007,
"cut_index": 537,
"middle_length": 229
} |
part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Data\Bundle\Reader;
use PHPUnit\Framework\TestCase;
use Symfony\Com... | ic function testReadReturnsArray()
{
$data = $this->reader->read(__DIR__.'/Fixtures/php', 'en');
$this->assertIsArray($data);
$this->assertSame('Bar', $data['Foo']);
$this->assertArrayNotHasKey('ExistsNot', $data);
| nhard Schussek <bschussek@gmail.com>
*/
class PhpBundleReaderTest extends TestCase
{
private PhpBundleReader $reader;
protected function setUp(): void
{
$this->reader = new PhpBundleReader();
}
publ | {
"filepath": "src/Symfony/Component/Intl/Tests/Data/Bundle/Reader/PhpBundleReaderTest.php",
"language": "php",
"file_size": 1812,
"cut_index": 537,
"middle_length": 229
} |
part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Data\Util;
use Symfony\Component\Intl\Exception\BadMethodCallException;
... | e $bundleImpl,
) {
}
public function get(int|string $offset): mixed
{
$value = $this->bundleImpl->get($offset);
return $value instanceof \ResourceBundle ? new static($value) : $value;
}
public function offsetExist |
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @internal
*/
class ArrayAccessibleResourceBundle implements \ArrayAccess, \IteratorAggregate, \Countable
{
public function __construct(
private \ResourceBundl | {
"filepath": "src/Symfony/Component/Intl/Data/Util/ArrayAccessibleResourceBundle.php",
"language": "php",
"file_size": 1924,
"cut_index": 537,
"middle_length": 229
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Data\Util;
/**
* Scans a directory with data files for locales.
*
* The name of each file with t... | * Returns all locales found in the given directory.
*
* @return array An array of locales. The result also contains locales that
* are in fact just aliases for other locales. Use
* {@link scanAliases()} | sequence of other symbols.
*
* For example, "de" and "de_DE" are considered to be locales. "root" and "meta"
* are not.
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @internal
*/
class LocaleScanner
{
/**
| {
"filepath": "src/Symfony/Component/Intl/Data/Util/LocaleScanner.php",
"language": "php",
"file_size": 2958,
"cut_index": 563,
"middle_length": 229
} |
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Data\Util;
use Symfony\Component\Intl\Exception\OutOfB... | y = $array[$index];
continue;
}
} elseif ($array instanceof \ArrayAccess) {
if (isset($array[$index])) {
$array = $array[$index];
continue;
| {
foreach ($indices as $index) {
// Use array_key_exists() for arrays, isset() otherwise
if (\is_array($array)) {
if (\array_key_exists($index, $array)) {
$arra | {
"filepath": "src/Symfony/Component/Intl/Data/Util/RecursiveArrayAccess.php",
"language": "php",
"file_size": 1210,
"cut_index": 518,
"middle_length": 229
} |
part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Data\Util;
use Symfony\Component\Intl\Exception\OutOfBoundsException;
/*... | \ArrayAccess
{
/** @var array<int, TValue> */
private array $values = [];
/** @var array<TKey, int> */
private array $indices = [];
private int $cursor = 0;
public function __construct(
private int $size,
) {
}
| * then the second and so on.
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @template TKey of array-key
* @template TValue
*
* @implements \ArrayAccess<TKey, TValue>
*
* @internal
*/
class RingBuffer implements | {
"filepath": "src/Symfony/Component/Intl/Data/Util/RingBuffer.php",
"language": "php",
"file_size": 1979,
"cut_index": 537,
"middle_length": 229
} |
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Data\Generator;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Intl\Data\Bundle\Compiler\BundleCompilerInterface;
use Symfony\Comp... | on __construct(
private BundleCompilerInterface $compiler,
private string $dirName,
) {
}
public function generateData(GeneratorConfig $config): void
{
$filesystem = new Filesystem();
$localeScanner = new Lo | ymfony\Component\Intl\Data\Util\LocaleScanner;
/**
* The rule for compiling the currency bundle.
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @internal
*/
abstract class AbstractDataGenerator
{
public functi | {
"filepath": "src/Symfony/Component/Intl/Data/Generator/AbstractDataGenerator.php",
"language": "php",
"file_size": 3468,
"cut_index": 614,
"middle_length": 229
} |
ndleEntryReaderInterface;
use Symfony\Component\Intl\Data\Util\ArrayAccessibleResourceBundle;
use Symfony\Component\Intl\Data\Util\LocaleScanner;
/**
* The rule for compiling the currency bundle.
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @internal
*/
class CurrencyDataGenerator extends AbstractData... | e, // Palladium
'XSU' => true, // Sucre
'XDR' => true, // Special Drawing Rights
'XTS' => true, // Testing Currency Code
'XXX' => true, // Unknown Currency
];
/**
* Collects all available currency codes.
* | (XBC)
'XBD' => true, // European Unit of Account (XBD)
'XUA' => true, // ADB Unit of Account
'XAU' => true, // Gold
'XAG' => true, // Silver
'XPT' => true, // Platinum
'XPD' => tru | {
"filepath": "src/Symfony/Component/Intl/Data/Generator/CurrencyDataGenerator.php",
"language": "php",
"file_size": 9231,
"cut_index": 921,
"middle_length": 229
} |
part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Data\Generator;
use Symfony\Component\Intl\Data\Bundle\Reader\BundleEntry... | string $displayLocale): ?array;
/**
* @see AbstractDataGenerator::generateDataForRoot()
*/
abstract protected function generateDataForRoot(BundleEntryReaderInterface $reader, string $tempDir): ?array;
private function generateFallb |
private bool $generatingFallback = false;
/**
* @see AbstractDataGenerator::generateDataForLocale()
*/
abstract protected function generateDataForLocale(BundleEntryReaderInterface $reader, string $tempDir, | {
"filepath": "src/Symfony/Component/Intl/Data/Generator/FallbackTrait.php",
"language": "php",
"file_size": 1777,
"cut_index": 537,
"middle_length": 229
} |
part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Data\Generator;
use Symfony\Component\Intl\Data\Bundle\Writer\BundleWrite... | o be used during the data conversion.
*/
public function addBundleWriter(string $targetDir, BundleWriterInterface $writer): void
{
$this->bundleWriters[$targetDir] = $writer;
}
/**
* Returns the writers indexed by their o | * @var BundleWriterInterface[]
*/
private array $bundleWriters = [];
public function __construct(
private string $sourceDir,
private string $icuVersion,
) {
}
/**
* Adds a writer t | {
"filepath": "src/Symfony/Component/Intl/Data/Generator/GeneratorConfig.php",
"language": "php",
"file_size": 1565,
"cut_index": 537,
"middle_length": 229
} |
buted with this source code.
*/
namespace Symfony\Component\Intl\Data\Generator;
use Symfony\Component\Intl\Data\Bundle\Compiler\BundleCompilerInterface;
use Symfony\Component\Intl\Data\Bundle\Reader\BundleEntryReaderInterface;
use Symfony\Component\Intl\Data\Util\ArrayAccessibleResourceBundle;
use Symfony\Component... | > 'aka',
'ar' => 'ara',
'ay' => 'aym',
'az' => 'aze',
'bo' => 'bod',
'cr' => 'cre',
'cs' => 'ces',
'cy' => 'cym',
'de' => 'deu',
'dz' => 'dzo',
'el' => 'ell',
'et' => ' | *
* @internal
*/
class LanguageDataGenerator extends AbstractDataGenerator
{
/**
* Source: https://iso639-3.sil.org/code_tables/639/data.
*/
private const PREFERRED_ALPHA2_TO_ALPHA3_MAPPING = [
'ak' = | {
"filepath": "src/Symfony/Component/Intl/Data/Generator/LanguageDataGenerator.php",
"language": "php",
"file_size": 7890,
"cut_index": 716,
"middle_length": 229
} |
buted with this source code.
*/
namespace Symfony\Component\Intl\Data\Generator;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Intl\Data\Bundle\Compiler\BundleCompilerInterface;
use Symfony\Component\Intl\Data\Bundle\Reader\BundleEntryReaderInterface;
use Symfony\Component\Intl\Data\Util\LocaleS... | te array $localeAliases = [];
private array $localeParents = [];
protected function scanLocales(LocaleScanner $scanner, string $sourceDir): array
{
$this->locales = $scanner->scanLocales($sourceDir.'/locales');
$this->localeAli | chussek <bschussek@gmail.com>
* @author Roland Franssen <franssen.roland@gmail.com>
*
* @internal
*/
class LocaleDataGenerator extends AbstractDataGenerator
{
use FallbackTrait;
private array $locales = [];
priva | {
"filepath": "src/Symfony/Component/Intl/Data/Generator/LocaleDataGenerator.php",
"language": "php",
"file_size": 6747,
"cut_index": 716,
"middle_length": 229
} |
ndleEntryReaderInterface;
use Symfony\Component\Intl\Data\Util\ArrayAccessibleResourceBundle;
use Symfony\Component\Intl\Data\Util\LocaleScanner;
use Symfony\Component\Intl\Exception\RuntimeException;
/**
* The rule for compiling the region bundle.
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @see http... | 'TL' => 'TLS',
'YE' => 'YEM',
];
private const DENYLIST = [
// Exceptional reservations
'AC' => true, // Ascension Island
'CP' => true, // Clipperton Island
'CQ' => true, // Island of Sark
'DG' | Source: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes.
*/
private const PREFERRED_ALPHA2_TO_ALPHA3_MAPPING = [
'CD' => 'COD',
'DE' => 'DEU',
'FR' => 'FRA',
'MM' => 'MMR',
| {
"filepath": "src/Symfony/Component/Intl/Data/Generator/RegionDataGenerator.php",
"language": "php",
"file_size": 10804,
"cut_index": 921,
"middle_length": 229
} |
'bi',
'bik',
'bin',
'bjn',
'bkm',
'bla',
'blo',
'blt',
'bm',
'bn',
'bo',
'bpy',
'bqi',
'br',
'bra',
'brh',
'brx',
'bs',
'bss',
'bua',
'bug',
'b... | 'crg',
'crh',
'crj',
'crk',
'crl',
'crm',
'crr',
'crs',
'cs',
'csb',
'csw',
'cu',
'cv',
'cy',
'da',
'dak',
'dar',
| hb',
'chg',
'chk',
'chm',
'chn',
'cho',
'chp',
'chr',
'chy',
'cic',
'ckb',
'clc',
'co',
'cop',
'cps',
'cr',
| {
"filepath": "src/Symfony/Component/Intl/Tests/LanguagesTest.php",
"language": "php",
"file_size": 35659,
"cut_index": 2151,
"middle_length": 229
} |
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\Group;
use Symfony\Component\Intl\Exception\MissingResourceExce... | DataProvider('provideLocales')]
public function testGetNames($displayLocale)
{
if ('en' !== $displayLocale) {
IntlTestHelper::requireFullIntl($this);
}
$locales = array_keys(Locales::getNames($displayLocale));
| Locales()
{
$this->assertSame(static::getLocales(), Locales::getLocales());
}
public function testGetAliases()
{
$this->assertSame(static::getLocaleAliases(), Locales::getAliases());
}
#[ | {
"filepath": "src/Symfony/Component/Intl/Tests/LocalesTest.php",
"language": "php",
"file_size": 3507,
"cut_index": 614,
"middle_length": 229
} |
buted with this source code.
*/
namespace Symfony\Component\Intl\Tests;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\Group;
use Symfony\Component\Intl\Exception\MissingResourceException;
use Symfony\Component\Intl\Scripts;
use Symfony\Component\Intl\Util\IntlTestHelper;
#[Group('i... | 'Berf',
'Bhks',
'Blis',
'Bopo',
'Brah',
'Brai',
'Bugi',
'Buhd',
'Cakm',
'Cans',
'Cari',
'Cham',
'Cher',
'Chrs',
'Cirt',
'Copt',
| 'Adlm',
'Afak',
'Aghb',
'Ahom',
'Arab',
'Aran',
'Armi',
'Armn',
'Avst',
'Bali',
'Bamu',
'Bass',
'Batk',
'Beng',
| {
"filepath": "src/Symfony/Component/Intl/Tests/ScriptsTest.php",
"language": "php",
"file_size": 6594,
"cut_index": 716,
"middle_length": 229
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Util;
use PHPUnit\Framework\Attributes\After;
use PHPUnit\Framework\Attributes\Before;
use PH... | otected function cleanup()
{
$this->targetDir = sys_get_temp_dir().'/GitRepositoryTest/source';
$fs = new Filesystem();
$fs->remove($this->targetDir);
}
public function testItThrowsAnExceptionIfInitialisedWithNonGitDir | \Util\GitRepository;
#[Group('intl-data')]
class GitRepositoryTest extends TestCase
{
private ?string $targetDir = null;
private const REPO_URL = 'https://github.com/symfony/intl.git';
#[Before]
#[After]
pr | {
"filepath": "src/Symfony/Component/Intl/Tests/Util/GitRepositoryTest.php",
"language": "php",
"file_size": 2419,
"cut_index": 563,
"middle_length": 229
} |
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Util;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Intl\Util\IcuVersion;
/**
* @author... | [2, '1', '10'],
[2, '1.2', '12'],
[2, '1.2.3', '12.3'],
[2, '1.2.3.4', '12.3'],
[3, '1', '10'],
[3, '1.2', '12'],
[3, '1.2.3', '12.3'],
[3, '1.2.3.4', '12.3.4'] | [null, '1.2', '12'],
[null, '1.2.3', '12.3'],
[null, '1.2.3.4', '12.3.4'],
[1, '1', '10'],
[1, '1.2', '12'],
[1, '1.2.3', '12'],
[1, '1.2.3.4', '12'],
| {
"filepath": "src/Symfony/Component/Intl/Tests/Util/IcuVersionTest.php",
"language": "php",
"file_size": 3571,
"cut_index": 614,
"middle_length": 229
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Data\Util;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Intl\Data\Util\RingBuffer;
u... | >assertArrayHasKey(0, $this->buffer);
$this->assertArrayHasKey('bar', $this->buffer);
$this->assertSame('foo', $this->buffer[0]);
$this->assertSame('baz', $this->buffer['bar']);
}
public function testWritePastBuffer()
{ | protected function setUp(): void
{
$this->buffer = new RingBuffer(2);
}
public function testWriteWithinBuffer()
{
$this->buffer[0] = 'foo';
$this->buffer['bar'] = 'baz';
$this- | {
"filepath": "src/Symfony/Component/Intl/Tests/Data/Util/RingBufferTest.php",
"language": "php",
"file_size": 2432,
"cut_index": 563,
"middle_length": 229
} |
agq' => 'агемча',
'ain' => 'айну',
'ak' => 'аканча',
'ale' => 'алеут',
'am' => 'амхарча',
'an' => 'арагон',
'anp' => 'ангика',
'ar' => 'арабча',
'arn' => 'мапудунгун',
'arp' => 'арапахо',
'as' => 'ассомча',
'asa' => 'асуча',
... | > 'бамбарча',
'bn' => 'бенгалча',
'bo' => 'тибетча',
'br' => 'бретонча',
'brx' => 'бодоча',
'bs' => 'боснийча',
'bug' => 'бугийча',
'byn' => 'блинча',
'ca' => 'каталонча',
'ce' => 'чеч | 'bas' => 'басаа',
'be' => 'беларусча',
'bem' => 'бемба',
'bez' => 'бенача',
'bg' => 'болгарча',
'bho' => 'бхожпури',
'bi' => 'бислама',
'bin' => 'бини',
'bm' = | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/uz_Cyrl.php",
"language": "php",
"file_size": 10660,
"cut_index": 716,
"middle_length": 229
} |
' => 'Isi-Arabhu',
'as' => 'IsiAssamese',
'az' => 'Isi-Azerbaijani',
'be' => 'Isi-Belarusian',
'bg' => 'Isi-Bulgaria',
'bn' => 'IsiBangla',
'br' => 'IsiBreton',
'bs' => 'Isi-Bosnia',
'ca' => 'Isi-Calatan',
'cs' => 'Isi-Czech',
'cy' => 'Isi-... | Isi-Frisian',
'ga' => 'Isi-Irish',
'gd' => 'Scots Gaelic',
'gl' => 'Isi-Galician',
'gu' => 'Isi-Gujarati',
'he' => 'Isi-Hebrew',
'hi' => 'IsiHindi',
'hr' => 'Isi-Croatia',
'hu' => 'Isi-Hungari | 'et' => 'Isi-Estonian',
'eu' => 'Isi-Basque',
'fa' => 'Isi-Persia',
'fi' => 'Isi-Finnish',
'fil' => 'Isi-Taglog',
'fo' => 'Isi-Faroese',
'fr' => 'IsiFrentshi',
'fy' => ' | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/xh.php",
"language": "php",
"file_size": 3856,
"cut_index": 614,
"middle_length": 229
} |
=> 'Arabic',
'as' => 'Asame',
'az' => 'Aserbayjane',
'ba' => 'Baskir',
'ban' => 'Bali',
'be' => 'Belaris',
'bem' => 'Bemba',
'bg' => 'Bilgaar',
'bn' => 'Baŋla',
'bo' => 'Tibetan',
'br' => 'Breton',
'bs' => 'Bosñak',
'ca' => ... | 'es' => 'Español',
'et' => 'Estoñiye',
'eu' => 'Bask',
'fa' => 'Pers',
'ff' => 'Pël',
'fi' => 'Feylànde',
'fil' => 'Filipiye',
'fo' => 'Feroos',
'fr' => 'Farañse',
'ga' => 'Irlànde' | Wels',
'da' => 'Danuwa',
'de' => 'Almaa',
'dsb' => 'Sorab-Suuf',
'dv' => 'Diweyi',
'dz' => 'Dsongkaa',
'el' => 'Gereg',
'en' => 'Àngale',
'eo' => 'Esperantoo',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/wo.php",
"language": "php",
"file_size": 4765,
"cut_index": 614,
"middle_length": 229
} |
'ann' => 'Èdè Obolo',
'anp' => 'Èdè Angika',
'ar' => 'Èdè Lárúbáwá',
'arn' => 'Èdè Mapushe',
'arp' => 'Èdè Arapaho',
'ars' => 'Èdè Arabiki ti Najidi',
'as' => 'Èdè Assam',
'asa' => 'Èdè Asu',
'ast' => 'Èdè Asturian',
'atj' => 'Èdè Atikameki',
... | Bojuri',
'bi' => 'Èdè Bisilama',
'bin' => 'Èdè Bini',
'bla' => 'Èdè Sikiska',
'blo' => 'Anii',
'bm' => 'Èdè Báḿbàrà',
'bn' => 'Èdè Bengali',
'bo' => 'Tibetán',
'br' => 'Èdè Bretoni',
| ban' => 'Èdè Balini',
'bas' => 'Èdè Basaa',
'be' => 'Èdè Belarusi',
'bem' => 'Èdè Béḿbà',
'bez' => 'Èdè Bẹ́nà',
'bg' => 'Èdè Bugaria',
'bgc' => 'Èdè Haryanvi',
'bho' => 'Èdè | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/yo.php",
"language": "php",
"file_size": 15284,
"cut_index": 921,
"middle_length": 229
} |
s' => [
'aa' => '阿法爾文',
'am' => '岩哈拉語',
'az' => '阿塞拜疆文',
'ba' => '巴什基爾文',
'br' => '布里多尼文',
'bs' => '波斯尼亞文',
'ca' => '加泰隆尼亞文',
'crs' => '塞舌爾克里奧爾法文',
'den' => '斯拉夫文',
'eo' => '世界語',
'gil' => '吉爾伯特文',
'gl' => '加里西亞文',
'... | ,
'pcm' => '尼日利亞皮欽文',
'rup' => '阿羅馬尼亞語',
'rw' => '盧旺達文',
'sl' => '斯洛文尼亞文',
'sn' => '修納文',
'so' => '索馬里文',
'syr' => '敍利亞文',
'ta' => '泰米爾文',
'tn' => '突尼西亞文',
'to' => '湯加文',
| 'kri' => '克裡奧爾文',
'lo' => '老撾文',
'luo' => '盧歐文',
'mfe' => '毛里裘斯克里奧爾文',
'mg' => '馬拉加斯文',
'ml' => '馬拉雅拉姆文',
'mt' => '馬耳他文',
'nqo' => '西非書面語言(N’ko)',
'or' => '奧里雅文' | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/zh_HK.php",
"language": "php",
"file_size": 2302,
"cut_index": 537,
"middle_length": 229
} |
s' => [
'aa' => '阿法爾文',
'am' => '岩哈拉語',
'az' => '阿塞拜疆文',
'ba' => '巴什基爾文',
'br' => '布里多尼文',
'bs' => '波斯尼亞文',
'ca' => '加泰隆尼亞文',
'crs' => '塞舌爾克里奧爾法文',
'den' => '斯拉夫文',
'eo' => '世界語',
'gil' => '吉爾伯特文',
'gl' => '加里西亞文',
'... | ,
'pcm' => '尼日利亞皮欽文',
'rup' => '阿羅馬尼亞語',
'rw' => '盧旺達文',
'sl' => '斯洛文尼亞文',
'sn' => '修納文',
'so' => '索馬里文',
'syr' => '敍利亞文',
'ta' => '泰米爾文',
'tn' => '突尼西亞文',
'to' => '湯加文',
| 'kri' => '克裡奧爾文',
'lo' => '老撾文',
'luo' => '盧歐文',
'mfe' => '毛里裘斯克里奧爾文',
'mg' => '馬拉加斯文',
'ml' => '馬拉雅拉姆文',
'mt' => '馬耳他文',
'nqo' => '西非書面語言(N’ko)',
'or' => '奧里雅文' | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/zh_Hant_HK.php",
"language": "php",
"file_size": 2302,
"cut_index": 537,
"middle_length": 229
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
if ('cli' !== \PHP_SAPI) {
throw new Exception('This script must be run from the command line.');
}
define('LINE_WIDTH', 75);
d... | dding = (int) ((LINE_WIDTH - strlen($text)) / 2);
return str_repeat(' ', $padding).$text;
}
function cd(string $dir): void
{
if (false === chdir($dir)) {
bailout("Could not switch to directory $dir.");
}
}
function run(string $comman | unction strip_minor_versions(string $version)
{
preg_match('/^(?P<version>[0-9]\.[0-9]|[0-9]{2,})/', $version, $matches);
return $matches['version'];
}
/**
* @return string
*/
function centered(string $text)
{
$pa | {
"filepath": "src/Symfony/Component/Intl/Resources/bin/common.php",
"language": "php",
"file_size": 2316,
"cut_index": 563,
"middle_length": 229
} |
ony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Intl\Countries;
#[Group('intl-data')]
#[... | env('SYMFONY_INTL_WITH_USER_ASSIGNED=false');
$this->assertFalse(Countries::exists('XK'));
}
public function testWhenEnvVarSetTrue()
{
putenv('SYMFONY_INTL_WITH_USER_ASSIGNED=true');
$this->assertTrue(Countries::exist | function testWhenEnvVarSetFalse()
{
put | {
"filepath": "src/Symfony/Component/Intl/Tests/CountriesEnvVarTest.php",
"language": "php",
"file_size": 932,
"cut_index": 606,
"middle_length": 52
} |
*/
private const COUNTRIES_WITH_USER_ASSIGNED = [
'AD',
'AE',
'AF',
'AG',
'AI',
'AL',
'AM',
'AO',
'AQ',
'AR',
'AS',
'AT',
'AU',
'AW',
'AX',
'AZ',
'BA',
'BB',
'BD... | ,
'CR',
'CU',
'CV',
'CW',
'CX',
'CY',
'CZ',
'DE',
'DJ',
'DK',
'DM',
'DO',
'DZ',
'EC',
'EE',
'EG',
'EH',
'ER',
| 'BT',
'BV',
'BW',
'BY',
'BZ',
'CA',
'CC',
'CD',
'CF',
'CG',
'CH',
'CI',
'CK',
'CL',
'CM',
'CN',
'CO' | {
"filepath": "src/Symfony/Component/Intl/Tests/CountriesWithUserAssignedTest.php",
"language": "php",
"file_size": 23808,
"cut_index": 1331,
"middle_length": 229
} |
'ANG',
'AOA',
'AOK',
'AON',
'AOR',
'ARA',
'ARL',
'ARM',
'ARP',
'ARS',
'ATS',
'AUD',
'AWG',
'AZM',
'AZN',
'BAD',
'BAM',
'BAN',
'BBD',
'BDT',
'BEC',
... | 'BZD',
'CAD',
'CDF',
'CHE',
'CHF',
'CHW',
'CLE',
'CLF',
'CLP',
'CNH',
'CNX',
'CNY',
'COP',
'COU',
'CRC',
'CSD',
'CSK',
| 'BOV',
'BRB',
'BRC',
'BRE',
'BRL',
'BRN',
'BRR',
'BRZ',
'BSD',
'BTN',
'BUK',
'BWP',
'BYB',
'BYN',
'BYR',
| {
"filepath": "src/Symfony/Component/Intl/Tests/CurrenciesTest.php",
"language": "php",
"file_size": 21107,
"cut_index": 1331,
"middle_length": 229
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\RequiresFunc... | ];
if (\function_exists('locale_parse')) {
$tests[] = ['sl_Latn_IT', 'sl-Latn-IT-nedis'];
$tests[] = ['sl_Latn', 'sl-Latn_IT'];
} else {
$tests[] = ['sl-Latn-IT', 'sl-Latn-IT-nedis'];
$test | ['sl_Latn_IT', 'sl_Latn_IT_nedis'],
['sl_Latn', 'sl_Latn_IT'],
['fr', 'fr_FR'],
['fr', 'fr-FR'],
['en', 'fr'],
['root', 'en'],
[null, 'root'],
| {
"filepath": "src/Symfony/Component/Intl/Tests/LocaleTest.php",
"language": "php",
"file_size": 2524,
"cut_index": 563,
"middle_length": 229
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Util;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Symf... | 3', '1'],
[1, '1.2.3.4', '1'],
[2, '1', '1'],
[2, '1.2', '1.2'],
[2, '1.2.3', '1.2'],
[2, '1.2.3.4', '1.2'],
[3, '1', '1'],
[3, '1.2', '1.2'],
[3, '1.2.3', '1.2 | eturn [
[null, '1', '1'],
[null, '1.2', '1.2'],
[null, '1.2.3', '1.2.3'],
[null, '1.2.3.4', '1.2.3.4'],
[1, '1', '1'],
[1, '1.2', '1'],
[1, '1.2. | {
"filepath": "src/Symfony/Component/Intl/Tests/Util/VersionTest.php",
"language": "php",
"file_size": 2503,
"cut_index": 563,
"middle_length": 229
} |
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Data\Util;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Intl\Data\Util\LocaleScanner;
/**... | anner();
$this->filesystem->mkdir($this->directory);
$this->filesystem->touch($this->directory.'/en.txt');
$this->filesystem->touch($this->directory.'/en_alias.txt');
$this->filesystem->touch($this->directory.'/en_child.tx | $scanner;
protected function setUp(): void
{
$this->directory = sys_get_temp_dir().'/LocaleScannerTest/'.random_int(1000, 9999);
$this->filesystem = new Filesystem();
$this->scanner = new LocaleSc | {
"filepath": "src/Symfony/Component/Intl/Tests/Data/Util/LocaleScannerTest.php",
"language": "php",
"file_size": 3140,
"cut_index": 614,
"middle_length": 229
} |
' => 'Tiếng Aramaic',
'arn' => 'Tiếng Mapuche',
'aro' => 'Tiếng Araona',
'arp' => 'Tiếng Arapaho',
'arq' => 'Tiếng Ả Rập Algeria',
'ars' => 'Tiếng Ả Rập Najdi',
'arw' => 'Tiếng Arawak',
'arz' => 'Tiếng Ả Rập Ai Cập',
'as' => 'Tiếng Assam',
'asa' =>... | 'bax' => 'Tiếng Bamun',
'bbc' => 'Tiếng Batak Toba',
'bbj' => 'Tiếng Ghomala',
'be' => 'Tiếng Belarus',
'bej' => 'Tiếng Beja',
'bem' => 'Tiếng Bemba',
'bew' => 'Tiếng Betawi',
'bez' => 'Tiếng | 'ay' => 'Tiếng Aymara',
'az' => 'Tiếng Azerbaijan',
'ba' => 'Tiếng Bashkir',
'bal' => 'Tiếng Baloch',
'ban' => 'Tiếng Bali',
'bar' => 'Tiếng Bavaria',
'bas' => 'Tiếng Basaa',
| {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/vi.php",
"language": "php",
"file_size": 21808,
"cut_index": 1331,
"middle_length": 229
} |
Èdè Ágɛ̀ɛ̀mù',
'bal' => 'Èdè Belúshì',
'bez' => 'Èdè Bɛ́nà',
'chr' => 'Èdè Shɛ́rókiì',
'cu' => 'Èdè Síláfííkì Ilé Ìjɔ́sìn',
'cv' => 'Èdè Shufasi',
'dje' => 'Shárúmà',
'dsb' => 'Shóbíánù Apá Ìshàlɛ̀',
'ebu' => 'Èdè Ɛmbù',
'en' => 'Èdè Gɛ̀ɛ́sì',
... | ì',
'nb' => 'Nɔ́ɔ́wè Bokímàl',
'nds' => 'Jámánì ìpìlɛ̀',
'nl' => 'Èdè Dɔ́ɔ̀shì',
'nmg' => 'Kíwáshíò',
'nn' => 'Nɔ́ɔ́wè Nínɔ̀sìkì',
'nus' => 'Núɛ̀',
'nyn' => 'Ńyákɔ́lè',
'oc' => 'Èdè Ɔ̀kísítáàn | 'khq' => 'Koira Shíínì',
'kk' => 'Kashakì',
'kln' => 'Kálɛnjín',
'ks' => 'Kashímirì',
'ksb' => 'Sháńbálà',
'ku' => 'Kɔdishì',
'kw' => 'Èdè Kɔ́nììshì',
'lb' => 'Lùshɛ́mbɔ́ɔ̀g | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/yo_BJ.php",
"language": "php",
"file_size": 3019,
"cut_index": 563,
"middle_length": 229
} |
'am' => 'isi-Amharic',
'an' => 'isi-Aragonese',
'ann' => 'isi-Obolo',
'anp' => 'isi-Angika',
'ar' => 'isi-Arabic',
'arn' => 'isi-Mapuche',
'arp' => 'isi-Arapaho',
'ars' => 'isi-Najdi Arabic',
'as' => 'isi-Assamese',
'asa' => 'isi-Asu',
... | 'isi-Bulgari',
'bgc' => 'isi-Haryanvi',
'bgn' => 'isi-Western Balochi',
'bho' => 'isi-Bhojpuri',
'bi' => 'isi-Bislama',
'bin' => 'isi-Bini',
'bla' => 'isi-Siksika',
'blo' => 'isi-Anii',
'bm' = | 'ba' => 'isi-Bashkir',
'bal' => 'IsiBaluchi',
'ban' => 'isi-Balinese',
'bas' => 'isi-Basaa',
'be' => 'isi-Belarusian',
'bem' => 'isi-Bemba',
'bez' => 'isi-Bena',
'bg' => | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/zu.php",
"language": "php",
"file_size": 15046,
"cut_index": 921,
"middle_length": 229
} |
buted with this source code.
*/
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Intl\Data\Bundle\Compiler\GenrbCompiler;
use Symfony\Component\Intl\Data\Bundle\Writer\PhpBundleWriter;
use Symfony\Component\Intl\Data\Generator\CurrencyDataGenerator;
use Symfony\Component\Intl\Data\Generator\Generato... | l\Util\GitRepository;
if ('cli' !== \PHP_SAPI) {
throw new Exception('This script must be run from the command line.');
}
require_once __DIR__.'/common.php';
require_once __DIR__.'/autoload.php';
$argc = $_SERVER['argc'];
$argv = $_SERVER['argv'];
| erator;
use Symfony\Component\Intl\Data\Generator\ScriptDataGenerator;
use Symfony\Component\Intl\Data\Generator\TimezoneDataGenerator;
use Symfony\Component\Intl\Intl;
use Symfony\Component\Intl\Locale;
use Symfony\Component\Int | {
"filepath": "src/Symfony/Component/Intl/Resources/bin/update-data.php",
"language": "php",
"file_size": 6735,
"cut_index": 716,
"middle_length": 229
} |
/ Include the locales statically so that the data providers are decoupled
// from the Intl class. Otherwise tests will fail if the intl extension is
// not loaded, because it is NOT possible to skip the execution of data
// providers.
private const LOCALES = [
'af',
'af_NA',
'af... | ,
'ar_SA',
'ar_SD',
'ar_SO',
'ar_SS',
'ar_SY',
'ar_TD',
'ar_TN',
'ar_YE',
'as',
'as_IN',
'az',
'az_AZ',
'az_Cyrl',
'az_Cyrl_AZ',
'az_Lat | 'ar_EH',
'ar_ER',
'ar_IL',
'ar_IQ',
'ar_JO',
'ar_KM',
'ar_KW',
'ar_LB',
'ar_LY',
'ar_MA',
'ar_MR',
'ar_OM',
'ar_PS',
'ar_QA' | {
"filepath": "src/Symfony/Component/Intl/Tests/ResourceBundleTestCase.php",
"language": "php",
"file_size": 15670,
"cut_index": 921,
"middle_length": 229
} |
n [
'Names' => [
'ak' => 'Igikani',
'am' => 'Ikimuhariki',
'ar' => 'Icarabu',
'be' => 'Ikibelarusiya',
'bg' => 'Ikinyabuligariya',
'bn' => 'Ikibengali',
'cs' => 'Igiceke',
'de' => 'Ikidage',
'el' => 'Ikigereki',
'en' => 'Icongereza',
... | eziya',
'my' => 'Ikinyabirimaniya',
'ne' => 'Ikinepali',
'nl' => 'Igiholandi',
'pa' => 'Igipunjabi',
'pl' => 'Ikinyapolonye',
'pt' => 'Igiporutugari',
'rn' => 'Ikirundi',
'ro' => 'Ikinyarumani | ' => 'Ikinyendoziya',
'ig' => 'Ikigubo',
'it' => 'Igitaliyani',
'ja' => 'Ikiyapani',
'jv' => 'Ikinyejava',
'km' => 'Igikambodiya',
'ko' => 'Ikinyakoreya',
'ms' => 'Ikinyamal | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/rn.php",
"language": "php",
"file_size": 1453,
"cut_index": 524,
"middle_length": 229
} |
'am' => '阿姆哈拉语',
'an' => '阿拉贡语',
'ang' => '古英语',
'ann' => '奥博洛语',
'anp' => '昂加语',
'ar' => '阿拉伯语',
'arc' => '阿拉米语',
'arn' => '马普切语',
'arp' => '阿拉帕霍语',
'ars' => '纳吉迪阿拉伯语',
'arw' => '阿拉瓦克语',
'as' => '阿萨姆语',
'asa' => '帕雷语'... | 语',
'bg' => '保加利亚语',
'bgc' => '哈里亚纳语',
'bgn' => '西俾路支语',
'bho' => '博杰普尔语',
'bi' => '比斯拉马语',
'bik' => '比科尔语',
'bin' => '比尼语',
'bkm' => '科姆语',
'bla' => '西克西卡语',
'blo' => '阿尼语',
| ' => '俾路支语',
'ban' => '巴厘语',
'bas' => '巴萨语',
'bax' => '巴姆穆语',
'bbj' => '戈马拉语',
'be' => '白俄罗斯语',
'bej' => '贝沙语',
'bem' => '本巴语',
'bez' => '贝纳语',
'bfd' => '巴非特 | {
"filepath": "src/Symfony/Component/Intl/Resources/data/languages/zh.php",
"language": "php",
"file_size": 19389,
"cut_index": 921,
"middle_length": 229
} |
,
'AI',
'AL',
'AM',
'AO',
'AQ',
'AR',
'AS',
'AT',
'AU',
'AW',
'AX',
'AZ',
'BA',
'BB',
'BD',
'BE',
'BF',
'BG',
'BH',
'BI',
'BJ',
'BL',
'B... | ',
'DJ',
'DK',
'DM',
'DO',
'DZ',
'EC',
'EE',
'EG',
'EH',
'ER',
'ES',
'ET',
'FI',
'FJ',
'FK',
'FM',
'FO',
'FR',
| 'CF',
'CG',
'CH',
'CI',
'CK',
'CL',
'CM',
'CN',
'CO',
'CR',
'CU',
'CV',
'CW',
'CX',
'CY',
'CZ',
'DE | {
"filepath": "src/Symfony/Component/Intl/Tests/CountriesTest.php",
"language": "php",
"file_size": 22493,
"cut_index": 1331,
"middle_length": 229
} |
],
['AO'],
['AQ'],
['AR'],
['AS'],
['AT'],
['AU'],
['AW'],
['AX'],
['AZ'],
['BA'],
['BB'],
['BD'],
['BE'],
['BF'],
['BG'],
['BH'],
['BI'],
['BJ'],
['BL'],
['BM'... | ['CX'],
['CY'],
['CZ'],
['DE'],
['DJ'],
['DK'],
['DM'],
['DO'],
['DZ'],
['EC'],
['EE'],
['EG'],
['EH'],
['ER'],
['ES'],
['ET'],
| ],
['CD'],
['CF'],
['CG'],
['CH'],
['CI'],
['CK'],
['CL'],
['CM'],
['CN'],
['CO'],
['CR'],
['CU'],
['CV'],
['CW'],
| {
"filepath": "src/Symfony/Component/Intl/Tests/TimezonesTest.php",
"language": "php",
"file_size": 24280,
"cut_index": 1331,
"middle_length": 229
} |
part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Data\Bundle\Compiler;
use Symfony\Component\Intl\Exception\RuntimeExcepti... | ronment variables to be loaded when running "genrb".
*
* @throws RuntimeException if the "genrb" cannot be found
*/
public function __construct(string $genrb = 'genrb', string $envVars = '')
{
exec('which '.$genrb, $output, $ | e
{
private string $genrb;
/**
* Creates a new compiler based on the "genrb" executable.
*
* @param string $genrb Optional. The path to the "genrb" executable
* @param string $envVars Optional. Envi | {
"filepath": "src/Symfony/Component/Intl/Data/Bundle/Compiler/GenrbCompiler.php",
"language": "php",
"file_size": 1689,
"cut_index": 537,
"middle_length": 229
} |
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Extension;
use Symfony\Component\Config\Definition\ConfigurationInterface;
use Symfony\Component\Config\Definition\Processor;
use Symfo... | ien@symfony.com>
*/
abstract class Extension implements ExtensionInterface, ConfigurationExtensionInterface
{
private array $processedConfigs = [];
/**
* Returns the recommended alias to use in XML.
*
* This alias is also the manda | Component\DependencyInjection\Exception\InvalidArgumentException;
use Symfony\Component\DependencyInjection\Exception\LogicException;
/**
* Provides useful features shared by many extensions.
*
* @author Fabien Potencier <fab | {
"filepath": "src/Symfony/Component/DependencyInjection/Extension/Extension.php",
"language": "php",
"file_size": 3794,
"cut_index": 614,
"middle_length": 229
} |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Extension;
use Symfony\Component\... | public function load(array $configs, ContainerBuilder $container): void;
/**
* Returns the recommended alias to use in XML.
*
* This alias is also the mandatory prefix to use when using YAML.
*/
public function getAlias(): stri | ExtensionInterface
{
/**
* Loads a specific configuration.
*
* @param array<array<mixed>> $configs
*
* @throws \InvalidArgumentException When provided tag is not defined in this extension
*/
| {
"filepath": "src/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.php",
"language": "php",
"file_size": 1003,
"cut_index": 512,
"middle_length": 229
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Extension;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\Config\Lo... | mfony\Component\DependencyInjection\Loader\IniFileLoader;
use Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
/**
* @author Yonel Ceruto <yonelceruto@gmail.com>
*/
trait Extens | oader;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symfony\Component\DependencyInjection\Loader\DirectoryLoader;
use Symfony\Component\DependencyInjection\Loader\GlobFileLoader;
use Sy | {
"filepath": "src/Symfony/Component/DependencyInjection/Extension/ExtensionTrait.php",
"language": "php",
"file_size": 2842,
"cut_index": 563,
"middle_length": 229
} |
part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Exception;
/**
* Thrown when a definition cannot be autow... | = $message();
}
if (!$message instanceof \Closure) {
parent::__construct($message, $code, $previous);
return;
}
$this->messageCallback = $message;
parent::__construct('', $code, $previous) | string|\Closure $message = '',
int $code = 0,
?\Throwable $previous = null,
) {
if ($message instanceof \Closure && \function_exists('xdebug_is_enabled') && xdebug_is_enabled()) {
$message | {
"filepath": "src/Symfony/Component/DependencyInjection/Exception/AutowiringFailedException.php",
"language": "php",
"file_size": 2000,
"cut_index": 537,
"middle_length": 229
} |
This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Exception;
/**
* Thrown when trying to injec... | e instanceof \ReflectionNamedType ? $acceptedType->getName() : (string) $acceptedType;
$this->code = $type;
$function = $parameter->getDeclaringFunction();
$functionName = $function instanceof \ReflectionMethod
? \sprin | eption extends InvalidArgumentException
{
public function __construct(string $serviceId, string $type, \ReflectionParameter $parameter)
{
$acceptedType = $parameter->getType();
$acceptedType = $acceptedTyp | {
"filepath": "src/Symfony/Component/DependencyInjection/Exception/InvalidParameterTypeException.php",
"language": "php",
"file_size": 1315,
"cut_index": 524,
"middle_length": 229
} |
he Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Exception;
/**
* This exception is thrown when a circular reference... | revious = null,
) {
parent::__construct(\sprintf('Circular reference detected for parameter "%s" ("%s" > "%s").', $parameters[0], implode('" > "', $parameters), $parameters[0]), 0, $previous);
}
public function getParameters(): array
| private array $parameters,
?\Throwable $p | {
"filepath": "src/Symfony/Component/DependencyInjection/Exception/ParameterCircularReferenceException.php",
"language": "php",
"file_size": 902,
"cut_index": 547,
"middle_length": 52
} |
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Exception;
use Psr\Container\NotFoundExceptionInterface;
/**
* This exception is thrown when a non-existent parameter is used.
*
* ... | ey that references the non-existent parameter
* @param \Throwable|null $previous The previous exception
* @param string[] $alternatives Some parameter name alternatives
* @param string|null $nonNestedAlternativ | $key The requested parameter key
* @param string|null $sourceId The service id that references the non-existent parameter
* @param string|null $sourceKey The parameter k | {
"filepath": "src/Symfony/Component/DependencyInjection/Exception/ParameterNotFoundException.php",
"language": "php",
"file_size": 4228,
"cut_index": 614,
"middle_length": 229
} |
n Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Exception;
/**
* This exception is thrown when a circular reference is detected.
*
* @author Johanne... | ) {
parent::__construct(\sprintf('Circular reference detected for service "%s", path: "%s".', $serviceId, implode(' -> ', $path)), 0, $previous);
}
public function getServiceId(): string
{
return $this->serviceId;
}
| rray $path,
?\Throwable $previous = null,
| {
"filepath": "src/Symfony/Component/DependencyInjection/Exception/ServiceCircularReferenceException.php",
"language": "php",
"file_size": 965,
"cut_index": 582,
"middle_length": 52
} |
part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Exception;
use Psr\Container\NotFoundExceptionInterface;
... |
?string $msg = null,
) {
if (null !== $msg) {
// no-op
} elseif (null === $sourceId) {
$msg = \sprintf('You have requested a non-existent service "%s".', $id);
} else {
$msg = \sprint | eption implements NotFoundExceptionInterface
{
public function __construct(
private string $id,
private ?string $sourceId = null,
?\Throwable $previous = null,
private array $alternatives = [], | {
"filepath": "src/Symfony/Component/DependencyInjection/Exception/ServiceNotFoundException.php",
"language": "php",
"file_size": 1719,
"cut_index": 537,
"middle_length": 229
} |
This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
/**
* An attribute to tell under ... | public Whether to declare the alias public
* @param string|list<string> $when The environments under which the class will be registered as a service (i.e. "dev", "test", "prod")
* @param string|null $target The name of the target to bin | _CLASS | \Attribute::IS_REPEATABLE)]
class AsAlias
{
/**
* @var list<string>
*/
public array $when = [];
/**
* @param string|null $id The id of the alias
* @param bool $ | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/AsAlias.php",
"language": "php",
"file_size": 1262,
"cut_index": 524,
"middle_length": 229
} |
?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
use Symfony\Component\D... | e decoration is invalid; must be one of the {@see ContainerInterface} constants
*/
public function __construct(
public string $decorates,
public int $priority = 0,
public int $onInvalid = ContainerInterface::EXCEPTION_ON_IN | string $decorates The service id to decorate
* @param int $priority The priority of this decoration when multiple decorators are declared for the same service
* @param int $onInvalid The behavior to adopt when th | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/AsDecorator.php",
"language": "php",
"file_size": 1031,
"cut_index": 513,
"middle_length": 229
} |
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
use Symfony\Component\Depend... | tiple decorators are declared for the same tag
* @param ContainerInterface::*_REFERENCE $onInvalid The behavior to adopt when no services have the tag; must be one of the {@see ContainerInterface} constants
*/
public function __construct(
| te::TARGET_CLASS)]
class AsTagDecorator
{
/**
* @param string $tag The tag name to decorate
* @param int $priority The priority of this decoration when mul | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/AsTagDecorator.php",
"language": "php",
"file_size": 1162,
"cut_index": 518,
"middle_length": 229
} |
n Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
/**
* An attribute to tell under which index and priority a service class should be found i... | ll be found when consuming tagged iterators/locators
* @param int|null $priority The priority of the service in iterators/locators; the higher the number, the earlier it will
*/
public function __construct(
public ?string $index = | ing|null $index The index at which the service wi | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/AsTaggedItem.php",
"language": "php",
"file_size": 950,
"cut_index": 582,
"middle_length": 52
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
/**
* An attribute to tell how a base type should be autoconfigured.
*
... | ings to declare for the service
* @param bool|string|null $lazy Whether the service is lazy-loaded
* @param bool|null $public Whether to declare the service as public
* @param bool|null | $tags The tags to add to the service
* @param array<array<mixed>>|null $calls The calls to be made when instantiating the service
* @param array<string, mixed>|null $bind The bind | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/Autoconfigure.php",
"language": "php",
"file_size": 2268,
"cut_index": 563,
"middle_length": 229
} |
file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
/**
* @author Nicolas Grekas <p@tchwor... | utes The attributes to attach to the resource tag
*/
public function __construct(?string $name = null, array $attributes = [])
{
parent::__construct(
resourceTags: [
[$name ?? 0 => $attributes],
| e tag name to add
* @param array<mixed> $attrib | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/AutoconfigureResourceTag.php",
"language": "php",
"file_size": 858,
"cut_index": 529,
"middle_length": 52
} |
he Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
/**
* An attribute to tell how a base type should be tag... | param array<mixed> $attributes The attributes to attach to the tag
*/
public function __construct(?string $name = null, array $attributes = [])
{
parent::__construct(
tags: [
[$name ?? 0 => $attributes],
| tring|null $name The tag name to add
* @ | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/AutoconfigureTag.php",
"language": "php",
"file_size": 885,
"cut_index": 547,
"middle_length": 52
} |
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
use Symfony\Component\DependencyInjection\Argument\ArgumentInterface;
use Symfony\Component\DependencyInjection\Exception\Lo... | only bool|array $lazy;
/**
* Use only ONE of the following.
*
* @param string|array|ArgumentInterface|null $value Value to inject (ie "%kernel.project_dir%/some/path")
* @param string|null $service S | Kevin Bond <kevinbond@gmail.com>
*/
#[\Attribute(\Attribute::TARGET_PARAMETER | \Attribute::TARGET_PROPERTY)]
class Autowire
{
public readonly string|array|Expression|Reference|ArgumentInterface|null $value;
public read | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/Autowire.php",
"language": "php",
"file_size": 3423,
"cut_index": 614,
"middle_length": 229
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Compone... | e callable to autowire
* @param string|null $method The method name that will be autowired
* @param bool|class-string $lazy Whether to use lazy-loading for this argument
*/
public function __construct(
string|array|nu | tribute(\Attribute::TARGET_PARAMETER)]
class AutowireCallable extends AutowireInline
{
/**
* @param string|array|null $callable The callable to autowire
* @param string|null $service The service containing th | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/AutowireCallable.php",
"language": "php",
"file_size": 2141,
"cut_index": 563,
"middle_length": 229
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Compone... | ezguen.turan@dadadev.com>
*/
#[\Attribute(\Attribute::TARGET_PARAMETER)]
class AutowireInline extends Autowire
{
public function __construct(string|array|null $class = null, array $arguments = [], array $calls = [], array $properties = [], ?string $pa | ribute on a class autowires a new instance
* which is not shared between different services.
*
* $class a FQCN, or an array to define a factory.
* Use the "@" prefix to reference a service.
*
* @author Ismail Özgün Turan <o | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/AutowireInline.php",
"language": "php",
"file_size": 2272,
"cut_index": 563,
"middle_length": 229
} |
ge.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument... | y referencing each service in the tagged collection
* @param string|string[] $exclude A service id or a list of service ids to exclude
* @param bool $excludeSelf Whether to automatically exclude the referencing service from t | Interface::getSubscribedServices()
*
* @param string $tag A tag name to search for to populate the iterator
* @param string|null $indexAttribute The name of the attribute that defines the ke | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/AutowireIterator.php",
"language": "php",
"file_size": 2360,
"cut_index": 563,
"middle_length": 229
} |
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
use Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument;
use Symfony\Component\DependencyInjection\Argumen... | ey => service-type pairs.
*/
#[\Attribute(\Attribute::TARGET_PARAMETER)]
class AutowireLocator extends Autowire
{
/**
* @see ServiceSubscriberInterface::getSubscribedServices()
*
* @param string|array<string|Autowire|SubscribedService> | ndencyInjection\TypedReference;
use Symfony\Contracts\Service\Attribute\SubscribedService;
use Symfony\Contracts\Service\ServiceSubscriberInterface;
/**
* Autowires a service locator based on a tag name or an explicit list of k | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/AutowireLocator.php",
"language": "php",
"file_size": 4948,
"cut_index": 614,
"middle_length": 229
} |
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Attribute;
use Symfony\Component\Depend... | Whether to use lazy-loading for this argument
*/
public function __construct(string $service, bool|string $lazy = false)
{
parent::__construct([new Reference($service)], lazy: $lazy);
}
public function buildDefinition(mixe | */
#[\Attribute(\Attribute::TARGET_PARAMETER)]
class AutowireMethodOf extends AutowireCallable
{
/**
* @param string $service The service containing the method to autowire
* @param bool|class-string $lazy | {
"filepath": "src/Symfony/Component/DependencyInjection/Attribute/AutowireMethodOf.php",
"language": "php",
"file_size": 1193,
"cut_index": 518,
"middle_length": 229
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.