method decipherPath documentation in bbn\Ide\Directories
function($st)
{
$st = bbn\Str::parsePath($st);
$bits = explode('/', $st);
/** @var string $constant The first path of the path which might be a constant */
$constant = $bits[0];
/** @var string $path The path that will be returned */
$path = '';
if ( \defined($constant) ){
$path .= $constant === 'BBN_APP_PATH' ? \bbn\Mvc::getAppPath() : constant($constant);
array_shift($bits);
}
$path .= implode('/', $bits);
return $path;
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions