BookStack/app/Image.php

17 lines
186 B
PHP
Raw Normal View History

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