mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Dev accessor. Add ~~ operator. ++Docs. ++Tests
This commit is contained in:
@@ -276,9 +276,13 @@ class TestCase extends \PHPUnit_Framework_TestCase
|
||||
}
|
||||
}
|
||||
|
||||
const HELPER_CONSTANT = 'helper.const';
|
||||
|
||||
class Helper
|
||||
{
|
||||
|
||||
const CONSTANT = "helper.class.const";
|
||||
|
||||
public $word = 'helper';
|
||||
|
||||
public function __construct($word)
|
||||
@@ -306,3 +310,7 @@ class Helper
|
||||
}
|
||||
}
|
||||
|
||||
function helper_func($string, $pad = 10) {
|
||||
return str_pad($string, $pad, ".");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user