Files
oficial/app_old/aldarien/root/README.md
Juan Pablo Vial be33305cf1 config
2023-07-24 20:41:38 -04:00

23 lines
361 B
Markdown

# root
get root directory path for your project
## Usage
add `Root::root('project')` or `root('project')` or `Root::root()` or `root()` where you need the root directory of your proyect.
## Example
For the structure:
~~~
/usr/share/www/projects
- myProject
-- src
-- tests
~~~
using `Root::root('myProject')`
outputs:
`/usr/share/www/projects/myProject`