Skip to content

Commit ef93759

Browse files
author
rafageist
committed
release 5.1.4
1 parent 09bf105 commit ef93759

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Ago 23, 2019
2+
--------------------------
3+
- `release` version 5.1.4
4+
- new method div::getVersion()
5+
16
Ago 22, 2019
27
--------------------------
38
- `release` version 5.1.3

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Div PHP Template Engine 5.1.3
1+
# Div PHP Template Engine 5.1.4
22

33
by Rafa Rodríguez (rafageist@hotmail.com)
44

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"code generator"
88
],
99
"homepage": "https://divengine.com",
10-
"version": "5.1.3",
10+
"version": "5.1.4",
1111
"authors": [
1212
{
1313
"name": "Rafa Rodriguez",

src/div.php

+11-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* @package divengine/div
2727
* @author Rafa Rodriguez @rafageist [https://rafageist.github.io]
28-
* @version 5.1.3
28+
* @version 5.1.4
2929
*
3030
* @link https://divengine.com/div
3131
* @link https://github.com/divengine/div
@@ -737,7 +737,7 @@ class div
737737
// ----- Internals -----
738738

739739
// current version of Div
740-
private static $__version = '5.1.3';
740+
private static $__version = '5.1.4';
741741

742742
// name of the super class
743743
private static $__super_class;
@@ -1003,6 +1003,15 @@ public function __construct($src = null, $items = null, $ignore = [])
10031003
$this->__items['div']['super_class_name'] = self::$__super_class;
10041004
}
10051005

1006+
/**
1007+
* Return current version of div
1008+
*
1009+
* @return string
1010+
*/
1011+
public static function getVersion() {
1012+
return self::$__version;
1013+
}
1014+
10061015
/**
10071016
* Secure call
10081017
*

0 commit comments

Comments
 (0)