logo
  • 教程列表
  • SO官方文檔
  • 助手
    • 陣列方法
    • 字串方法
    • 路徑 mehods
    • 網址
  1. StackOverflow 文件
  2. Laravel 教程
  3. 助手
  4. 路徑 mehods

路徑 mehods

Created: November-22, 2018

路徑方法可以從任何地方輕鬆訪問與應用程式相關的路徑。

public_path()

此方法返回應用程式的完全限定的公共路徑。這是公共目錄。

$path = public_path();
  • 網址
  • 字串方法

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明