File tree Expand file tree Collapse file tree 7 files changed +29
-10
lines changed
Expand file tree Collapse file tree 7 files changed +29
-10
lines changed Original file line number Diff line number Diff line change 1+ <a name =" 1.2.0 " ></a >
2+ # [ 1.2.0] ( https://github.com/flextype-plugins/form-admin/compare/v1.1.2...v1.2.0 ) (2020-08-19)
3+
4+ ### Features
5+
6+ * ** core** update code base for new Flextype 0.9.10
7+
18<a name =" 1.1.2 " ></a >
29# [ 1.1.2] ( https://github.com/flextype-plugins/icon/compare/v1.1.1...v1.1.2 ) (2020-08-07)
310
Original file line number Diff line number Diff line change 11<h1 align =" center " >Icon Plugin for <a href =" http://flextype.org/ " >Flextype</a ></h1 >
22
33<p align =" center " >
4- <a href =" https://github.com/flextype-plugins/icon/releases " ><img alt =" Version " src =" https://img.shields.io/github/release/flextype-plugins/icon/icon.svg?label=version&color=black " ></a > <a href =" https://github.com/flextype-plugins/icon " ><img src =" https://img.shields.io/badge/license-MIT-blue.svg?color=black " alt =" License " ></a > <a href =" https://github.com/flextype-plugins/icon " ><img src =" https://img.shields.io/github/downloads/flextype-plugins/icon/total.svg?color=black " alt =" Total downloads " ></a > <a href =" https://github.com/flextype/flextype " ><img src =" https://img.shields.io/badge/Flextype-0.9.9 -green.svg?color=black " alt =" Flextype " ></a > <a href =" " ><img src =" https://img.shields.io/discord/423097982498635778.svg?logo=discord&color=black&label=Discord%20Chat " alt =" Discord " ></a >
4+ <a href =" https://github.com/flextype-plugins/icon/releases " ><img alt =" Version " src =" https://img.shields.io/github/release/flextype-plugins/icon/icon.svg?label=version&color=black " ></a > <a href =" https://github.com/flextype-plugins/icon " ><img src =" https://img.shields.io/badge/license-MIT-blue.svg?color=black " alt =" License " ></a > <a href =" https://github.com/flextype-plugins/icon " ><img src =" https://img.shields.io/github/downloads/flextype-plugins/icon/total.svg?color=black " alt =" Total downloads " ></a > <a href =" https://github.com/flextype/flextype " ><img src =" https://img.shields.io/badge/Flextype-0.9.10 -green.svg?color=black " alt =" Flextype " ></a > <a href =" " ><img src =" https://img.shields.io/discord/423097982498635778.svg?logo=discord&color=black&label=Discord%20Chat " alt =" Discord " ></a >
55</p >
66
77Icon plugin to present [ Font Awesome] ( https://fontawesome.com/ ) icons set for Flextype.
@@ -14,7 +14,7 @@ The following dependencies need to be installed for Icon Plugin.
1414
1515| Item | Version | Download |
1616| ---| ---| ---|
17- | [ flextype] ( https://github.com/flextype/flextype ) | 0.9.9 | [ download] ( https://github.com/flextype/flextype/releases ) |
17+ | [ flextype] ( https://github.com/flextype/flextype ) | 0.9.10 | [ download] ( https://github.com/flextype/flextype/releases ) |
1818| [ twig] ( https://github.com/flextype-plugins/twig ) | >=1.0.0 | [ download] ( https://github.com/flextype-plugins/twig/releases ) |
1919
2020## Installation
Original file line number Diff line number Diff line change 1212namespace Flextype \Plugin \Icon \Models ;
1313
1414use Flextype \Component \Filesystem \Filesystem ;
15- use Flextype \App \Foundation \Container ;
1615
17- class Icon extends Container
16+ class Icon
1817{
18+ /**
19+ * Flextype Application
20+ */
21+ protected $ flextype ;
22+
23+ /**
24+ * __construct
25+ */
26+ public function __construct ($ flextype )
27+ {
28+ $ this ->flextype = $ flextype ;
29+ }
30+
1931 public static function icon ($ value = null ) : string
2032 {
2133 $ icon_fallback_file_path = PATH ['project ' ] . '/plugins/icon/assets/dist/fontawesome/svgs/regular/file-alt.svg ' ;
Original file line number Diff line number Diff line change 1616 "issues" : " https://github.com/flextype-plugins/icon/issues"
1717 },
1818 "require" : {
19- "php" : " >=7.2.5 "
19+ "php" : " >=7.3.0 "
2020 },
2121 "config" : {
2222 "apcu-autoloader" : true ,
2323 "optimize-autoloader" : true ,
2424 "platform" : {
25- "php" : " 7.2.5 "
25+ "php" : " 7.3.0 "
2626 }
2727 },
2828 "autoload" : {
Original file line number Diff line number Diff line change 1414use Flextype \Plugin \Icon \Twig \IconTwigExtension ;
1515
1616// Add Icon Twig Extension
17- $ flextype ->twig ->addExtension (new IconTwigExtension ($ flextype ));
17+ $ flextype ->container ( ' twig ' ) ->addExtension (new IconTwigExtension ($ flextype ));
Original file line number Diff line number Diff line change 11{
22 "name" : " Icon" ,
3- "version" : " 1.1.2 " ,
3+ "version" : " 1.2.0 " ,
44 "description" : " Icon plugin to present Font Awesome icons set for Flextype." ,
55 "homepage" : " https://flextype.org" ,
66 "author" : " Sergey Romanenko" ,
Original file line number Diff line number Diff line change 11name : Icon
2- version : 1.1.2
2+ version : 1.2.0
33description : Icon plugin to present Font Awesome icons set for Flextype.
44icon : fab fa-font-awesome-flag
55author :
@@ -11,5 +11,5 @@ bugs: https://github.com/flextype-plugins/icon/issues
1111license : MIT
1212
1313dependencies :
14- flextype : 0.9.9
14+ flextype : 0.9.10
1515 twig : ' >=1.0.0'
You can’t perform that action at this time.
0 commit comments