File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ Prior to installing `php-orm-database` get the [Composer](https://getcomposer.or
116116** Step 1** — update your ` composer.json ` :
117117``` composer.json
118118"require" : {
119- "peterson/php-orm-database" : " ^4.1.8 "
119+ "peterson/php-orm-database" : " ^4.1.9 "
120120}
121121```
122122
@@ -1445,6 +1445,9 @@ class PostClass extends DB{
14451445| config_pagination() | Same as ` $db->configPagination() ` or ` EnvAutoLoad::configPagination ` |
14461446| autoload_register() | Same as ` AutoloadRegister::load() ` |
14471447| app_data() | Get ` path\|database\|pagination ` info |
1448+ | base_dir() | Get absolute base directory path. It accepts a param as ` string ` if given, will be appended to the path |
1449+ | directory() | Same as ` base_dir() ` just naming difference |
1450+ | domain() | Similar to ` base_dir() ` as it returns domain URI. Also accepts path given and this will append to the endpoint of URL. |
14481451| env() | Same as ` $db->env() ` |
14491452| env_orm() | Return instance of ` (new EnvOrm) ` class |
14501453| env_start() | Same as ` EnvAutoLoad::start() ` |
Original file line number Diff line number Diff line change 4242 },
4343 "extra" : {
4444 "branch-alias" : {
45- "dev-main" : " 4.1.8 -dev"
45+ "dev-main" : " 4.1.9 -dev"
4646 }
4747 },
4848 "minimum-stability" : " stable" ,
You can’t perform that action at this time.
0 commit comments