BookStack/app/Image.php

17 lines
186 B
PHP
Raw Normal View History

2015-07-14 04:52:56 +08:00
<?php
namespace Oxbow;
class Image extends Entity
2015-07-14 04:52:56 +08:00
{
2015-08-16 07:18:22 +08:00
protected $fillable = ['name'];
2015-07-15 05:34:31 +08:00
public function getFilePath()
{
return storage_path() . $this->url;
}
2015-07-14 04:52:56 +08:00
}