public function inCakePath($path = '')
    {
        deprecationWarning('Folder::inCakePath() is deprecated. Use Folder::inPath() instead.');
        $dir = substr(Folder::slashTerm(ROOT), 0, -1);
        $newdir = $dir . $path;

        return $this->inPath($newdir);
    }