示例#1
0
文件: File.php 项目: evendev/mcmills
 public function getTitleAttribute()
 {
     $file = public_path() . '/' . $this->path;
     return \File::name($file) . '.' . \File::extension($file);
 }