public function applicationWebPath($path, $app = null) { return str_replace('%application%', $this->get('webroot', $app), $path); }