Dev accessor. Add ~~ operator. ++Docs. ++Tests

This commit is contained in:
bzick
2014-10-05 20:37:30 +04:00
parent af7546a8ec
commit e55402c2f4
10 changed files with 436 additions and 274 deletions

View File

@@ -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, ".");
}