src/Dev/Install/InstallEnvironmentAware.php
public function getPublicDir()
    {
        $base = $this->getBaseDir();
        $public = Path::join($base, 'public') . DIRECTORY_SEPARATOR;
        if (file_exists($public)) {
            return $public;
        }
        return $base;
    }
public function getPublicDir()
    {
        $base = $this->getBaseDir();
        $public = Path::join($base, 'public') . DIRECTORY_SEPARATOR;
        if (file_exists($public)) {
            return $public;
        }
        return $base;
    }
public function getPublicDir ( ) { $ base = $ this -> getBaseDir ( ) ; $ public = Path :: join ( $ base , 'public' ) . DIRECTORY_SEPARATOR ; if ( file_exists ( $ public ) ) { return $ public ; } return $ base ; }
Get path to public directory

@return string
Get path to public directory