Skip to content

Commit 451240d

Browse files
committed
Rename the project from Bubble to AirBubble
Preparing the ElementaryFramework project...
1 parent df61e13 commit 451240d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+540
-549
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ composer.lock
1616

1717
# Test files and folders
1818
tests/
19-
/src/Bubble/bubble.xsd
19+
/src/AirBubble/bubble.xsd
2020

2121
# Docs (hidden for now)
2222
docs/

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# Bubble
1+
# AirBubble
22

33
A PHP template engine in XML syntax
44

5-
Bubble will help you create templates for your PHP project, with a lot of features to
5+
AirBubble will help you create templates for your PHP project, with a lot of features to
66
compile static HTML code faster than you can imagine!
77

88
## How to use ?
99

10-
Read the [wiki](https://github.com/na2axl/bubble/wiki) to learn how to use Bubble in
10+
Read the [wiki](https://github.com/na2axl/bubble/wiki) to learn how to use AirBubble in
1111
your project.
1212

1313
## License
1414

1515
© 2018 - Aliens Group
1616

17-
Licensed under MIT ([read license](https://github.com/na2axl/bubble/blob/master/LICENSE))
17+
Licensed under MIT ([read license](https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE))

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "na2axl/bubble",
3-
"description": "Bubble - A PHP template engine, built on top of MVC specifications",
2+
"name": "elementaryframework/air-bubble",
3+
"description": "AirBubble - A PHP template engine, built on top of MVC specifications",
44
"type": "library",
55
"require-dev": {
66
"phpunit/phpunit": "^7"
@@ -23,7 +23,7 @@
2323
],
2424
"autoload": {
2525
"psr-4": {
26-
"Bubble\\": "src/Bubble/"
26+
"AirBubble\\": "src/AirBubble/"
2727
}
2828
}
2929
}

src/Bubble/Bubble.php renamed to src/AirBubble/AirBubble.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Bubble - A PHP template engine
4+
* AirBubble - A PHP template engine
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -22,19 +22,19 @@
2222
* SOFTWARE.
2323
*
2424
* @category Library
25-
* @package Bubble
25+
* @package AirBubble
2626
* @author Axel Nana <[email protected]>
2727
* @copyright 2018 Aliens Group, Inc.
28-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
28+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
2929
* @version GIT: 1.1.0
3030
* @link http://bubble.na2axl.tk
3131
*/
3232

33-
namespace Bubble;
33+
namespace AirBubble;
3434

35-
use Bubble\Data\DataModel;
36-
use Bubble\Renderer\Template;
37-
use Bubble\Util\KeyValuePair;
35+
use AirBubble\Data\DataModel;
36+
use AirBubble\Renderer\Template;
37+
use AirBubble\Util\KeyValuePair;
3838

3939
/**
4040
* Define the type of token which
@@ -72,17 +72,17 @@
7272
define('MBSTRING_AVAILABLE', function_exists('mb_get_info'));
7373

7474
/**
75-
* Bubble main class
75+
* AirBubble main class
7676
*
77-
* Manage the Bubble template engine, parse and render template files.
77+
* Manage the AirBubble template engine, parse and render template files.
7878
*
7979
* @category MainClass
80-
* @package Bubble
80+
* @package AirBubble
8181
* @author Axel Nana <[email protected]>
82-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
83-
* @link http://bubble.na2axl.tk/docs/api/Bubble/Bubble
82+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
83+
* @link http://bubble.na2axl.tk/docs/api/AirBubble/AirBubble
8484
*/
85-
class Bubble
85+
class AirBubble
8686
{
8787
/**
8888
* The template data bindings.
@@ -92,26 +92,26 @@ class Bubble
9292
private $_dataModel;
9393

9494
/**
95-
* Stores the Bubble configuration
95+
* Stores the AirBubble configuration
9696
*
97-
* @var BubbleConfig
97+
* @var AirBubbleConfig
9898
*/
9999
private static $_bubbleConfig;
100100

101-
public static function setConfiguration(BubbleConfig $config)
101+
public static function setConfiguration(AirBubbleConfig $config)
102102
{
103103
self::$_bubbleConfig = $config;
104104
}
105105

106106
/**
107-
* Gets the Bubble configuration.
107+
* Gets the AirBubble configuration.
108108
*
109-
* @return BubbleConfig
109+
* @return AirBubbleConfig
110110
*/
111111
public static function getConfiguration()
112112
{
113113
if (self::$_bubbleConfig === null) {
114-
self::setConfiguration(new BubbleConfig());
114+
self::setConfiguration(new AirBubbleConfig());
115115
}
116116

117117
return self::$_bubbleConfig;

src/Bubble/BubbleConfig.php renamed to src/AirBubble/AirBubbleConfig.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Bubble - A PHP template engine
4+
* AirBubble - A PHP template engine
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -22,28 +22,28 @@
2222
* SOFTWARE.
2323
*
2424
* @category Library
25-
* @package Bubble
25+
* @package AirBubble
2626
* @author Axel Nana <[email protected]>
2727
* @copyright 2018 Aliens Group, Inc.
28-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
28+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
2929
* @version GIT: 1.1.0
3030
* @link http://bubble.na2axl.tk
3131
*/
3232

33-
namespace Bubble;
33+
namespace AirBubble;
3434

3535
/**
36-
* Bubble configuration class
36+
* AirBubble configuration class
3737
*
38-
* Defines configurations values to use when rendering Bubble templates.
38+
* Defines configurations values to use when rendering AirBubble templates.
3939
*
4040
* @category MainClass
41-
* @package Bubble
41+
* @package AirBubble
4242
* @author Axel Nana <[email protected]>
43-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
44-
* @link http://bubble.na2axl.tk/docs/api/Bubble/BubbleConfig
43+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
44+
* @link http://bubble.na2axl.tk/docs/api/AirBubble/BubbleConfig
4545
*/
46-
class BubbleConfig
46+
class AirBubbleConfig
4747
{
4848
/**
4949
* The base path in which all relative path to templates

src/Bubble/Attributes/ConditionAttribute.php renamed to src/AirBubble/Attributes/ConditionAttribute.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Bubble - A PHP template engine
4+
* AirBubble - A PHP template engine
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -22,28 +22,28 @@
2222
* SOFTWARE.
2323
*
2424
* @category Library
25-
* @package Bubble
25+
* @package AirBubble
2626
* @author Axel Nana <[email protected]>
2727
* @copyright 2018 Aliens Group, Inc.
28-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
28+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
2929
* @version GIT: 1.1.0
3030
* @link http://bubble.na2axl.tk
3131
*/
3232

33-
namespace Bubble\Attributes;
33+
namespace AirBubble\Attributes;
3434

35-
use Bubble\Util\EvalSandBox;
35+
use AirBubble\Util\EvalSandBox;
3636

3737
/**
3838
* For Attribute
3939
*
4040
* Represent the <b>for</b> attribute.
4141
*
4242
* @category Attributes
43-
* @package Bubble
43+
* @package AirBubble
4444
* @author Axel Nana <[email protected]>
45-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
46-
* @link http://bubble.na2axl.tk/docs/api/Bubble/Attributes/ConditionAttribute
45+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
46+
* @link http://bubble.na2axl.tk/docs/api/AirBubble/Attributes/ConditionAttribute
4747
*/
4848
class ConditionAttribute extends GenericAttribute
4949
{

src/Bubble/Attributes/ElementAttribute.php renamed to src/AirBubble/Attributes/ElementAttribute.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Bubble - A PHP template engine
4+
* AirBubble - A PHP template engine
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -22,26 +22,26 @@
2222
* SOFTWARE.
2323
*
2424
* @category Library
25-
* @package Bubble
25+
* @package AirBubble
2626
* @author Axel Nana <[email protected]>
2727
* @copyright 2018 Aliens Group, Inc.
28-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
28+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
2929
* @version GIT: 1.1.0
3030
* @link http://bubble.na2axl.tk
3131
*/
3232

33-
namespace Bubble\Attributes;
33+
namespace AirBubble\Attributes;
3434

3535
/**
3636
* Element attribute
3737
*
3838
* Represent the <b>element</b> attribute.
3939
*
4040
* @category Attributes
41-
* @package Bubble
41+
* @package AirBubble
4242
* @author Axel Nana <[email protected]>
43-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
44-
* @link http://bubble.na2axl.tk/docs/api/Bubble/Attributes/ElementAttribute
43+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
44+
* @link http://bubble.na2axl.tk/docs/api/AirBubble/Attributes/ElementAttribute
4545
*/
4646
class ElementAttribute extends GenericAttribute
4747
{

src/Bubble/Attributes/ForAttribute.php renamed to src/AirBubble/Attributes/ForAttribute.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Bubble - A PHP template engine
4+
* AirBubble - A PHP template engine
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -22,26 +22,26 @@
2222
* SOFTWARE.
2323
*
2424
* @category Library
25-
* @package Bubble
25+
* @package AirBubble
2626
* @author Axel Nana <[email protected]>
2727
* @copyright 2018 Aliens Group, Inc.
28-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
28+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
2929
* @version GIT: 1.1.0
3030
* @link http://bubble.na2axl.tk
3131
*/
3232

33-
namespace Bubble\Attributes;
33+
namespace AirBubble\Attributes;
3434

3535
/**
3636
* For Attribute
3737
*
3838
* Represent the <b>for</b> attribute.
3939
*
4040
* @category Attributes
41-
* @package Bubble
41+
* @package AirBubble
4242
* @author Axel Nana <[email protected]>
43-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
44-
* @link http://bubble.na2axl.tk/docs/api/Bubble/Attributes/ForAttribute
43+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
44+
* @link http://bubble.na2axl.tk/docs/api/AirBubble/Attributes/ForAttribute
4545
*/
4646
class ForAttribute extends GenericAttribute
4747
{

src/Bubble/Attributes/FromAttribute.php renamed to src/AirBubble/Attributes/FromAttribute.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Bubble - A PHP template engine
4+
* AirBubble - A PHP template engine
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -22,26 +22,26 @@
2222
* SOFTWARE.
2323
*
2424
* @category Library
25-
* @package Bubble
25+
* @package AirBubble
2626
* @author Axel Nana <[email protected]>
2727
* @copyright 2018 Aliens Group, Inc.
28-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
28+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
2929
* @version GIT: 1.1.0
3030
* @link http://bubble.na2axl.tk
3131
*/
3232

33-
namespace Bubble\Attributes;
33+
namespace AirBubble\Attributes;
3434

3535
/**
3636
* From Attribute
3737
*
3838
* Represent the <b>from</b> attribute.
3939
*
4040
* @category Attributes
41-
* @package Bubble
41+
* @package AirBubble
4242
* @author Axel Nana <[email protected]>
43-
* @license MIT <https://github.com/na2axl/bubble/blob/master/LICENSE>
44-
* @link http://bubble.na2axl.tk/docs/api/Bubble/Attributes/FromAttribute
43+
* @license MIT <https://github.com/ElementaryFramework/AirBubble/blob/master/LICENSE>
44+
* @link http://bubble.na2axl.tk/docs/api/AirBubble/Attributes/FromAttribute
4545
*/
4646
class FromAttribute extends GenericAttribute
4747
{

0 commit comments

Comments
 (0)