路徑 mehods

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

public_path()

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

$path = public_path();