for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace MikoPBX\Common\Config;
use function function_exists;
if (true !== function_exists('MikoPBX\Common\Config\appPath')) {
/**
* Get the application path.
*
* @param string $path
* @return string
*/
function appPath(string $path = ''): string
{
return dirname(__DIR__,3) . ($path ? DIRECTORY_SEPARATOR . $path : $path);
}