public function appPublic($path = '', $checkIfExists = false)
    {
        $appPublicDir = getcwd() . $this->getRelativeAppPublicDir();
        if ($checkIfExists) {
            return realpath($appPublicDir . DS . $path);
        }
        if (empty($path)) {
            return $appPublicDir;
        }
        return $appPublicDir . DS . $this->normalizePath($path);
    }