You are here Home →Help →Composr API Documentation →Class __global →Function __global->getcwd Function __global->getcwd Definitions sources_custom/phpstub.php Gets the current working directory. Visibility: public Is abstract?: No Is static?: No Is final?: No Returns: string Returns The cwd Type: PATH Set: N/A Range: N/A Preview Code (PHP) /** * Gets the current working directory. * * @return PATH The cwd */ function getcwd() : string