method cleanPath documentation in bbn\File\System2

function(string $path) { if ( ($path === '.') || ($path === './') ){ $path = ''; } while ( $path && (substr($path, -1) === '/') ){ $path = substr($path, 0, strlen($path) - 1); } 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.