是否在Laravel 5.1中弃用了File facade?

时间:2016-05-09 15:56:24

标签: file laravel upload storage

我刚刚开始处理图片上传和内容,并且正在寻找在公共文件夹中创建目录的方法。现在在Laravel 5.1文档中查找makeDirectory方法我可以看到它将其引用到“存储”,那么现在使用的是存储而不是文件?或者什么?

1 个答案:

答案 0 :(得分:0)

您可以使用$ cmake .. -- The C compiler identification is AppleClang 7.3.0.7030029 -- The CXX compiler identification is AppleClang 7.3.0.7030029 -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.11") -- Found sphinxbase: /usr/local/lib/libsphinxbase.dylib -- Found pocketsphinx: /usr/local/lib/libpocketsphinx.dylib -- Found Portaudio: /usr/local/lib/libportaudio.dylib -- Found LibSndFile: /usr/local/lib/libsndfile.dylib -- Configuring done CMake Error at CMakeLists.txt:189 (ADD_DEPENDENCIES): The dependency target "LibSndFile" of target "Khronos" does not exist. CMake Error at CMakeLists.txt:189 (ADD_DEPENDENCIES): The dependency target "PortAudio" of target "Khronos" does not exist. CMake Error at CMakeLists.txt:189 (ADD_DEPENDENCIES): The dependency target "pocketsphinx" of target "Khronos" does not exist. CMake Error at CMakeLists.txt:189 (ADD_DEPENDENCIES): The dependency target "sphinxbase" of target "Khronos" does not exist. -- Generating done -- Build files have been written to: /Users/syb0rg/Dropbox/Development/Khronos/Khronos/build File::外观来创建目录。我认为它没有被删除,因为5.3 deprecation list中没有这样的信息。