BookStack/app/Image.php

17 lines
186 B
PHP
Raw Normal View History

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