private function getBaseUrl($projectFile) { switch ($this->storage->getDefaultDriver()) { case 'local': return $this->storage->getDriver()->getAdapter()->getPathPrefix() . $projectFile->id . '.' . $projectFile->extension; } }
private function getBaseURL($projetoFile) { switch ($this->storage->getDefaultDriver()) { case 'local': return $this->storage->disk('local')->getAdapter()->getPathPrefix() . '/' . $projetoFile->getFileName(); //return $this->storage->getDrive()->getAdapter()->getPathPrefix() . '/' . $projetoFile->getFileName(); } }
private function getBaseUrl($projectFile) { switch ($this->storage->getDefaultDriver()) { case 'local': return $this->storage->getDriver()->getAdapter()->getPathPrefix() . '/' . $projectFile->getFileName(); break; } }
private function getBaseUrl($file) { switch ($this->storage->getDefaultDriver()) { case 'local': return $this->storage->getDriver()->getAdapter()->getPathPrefix() . '/' . $file->file; } }
private function getBaseURL($projectFile) { switch ($this->storage->getDefaultDriver()) { // ATENCAO: TIVE QUE DESCOMENTAR extension=php_fileinfo.dll NO PHP.INI case 'local': return $this->storage->getDriver()->getAdapter()->getPathPrefix() . '/' . $projectFile->id . '.' . $projectFile->extension; /*return $this->storage->getDriver()->getAdapter()->getPathPrefix() .$projectFile->id.'.'.$projectFile->extension;*/ /*return $this->storage->getDriver()->getAdapter()->getPathPrefix() .$projectFile->id.'.'.$projectFile->extension;*/ default: return Errors::basic('Driver de arquivo não tratado.'); } }