BookStack/app/Image.php

17 lines
186 B
PHP

<?php
namespace Oxbow;
class Image extends Entity
{
protected $fillable = ['name'];
public function getFilePath()
{
return storage_path() . $this->url;
}
}