partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 6daf4dad20974fe5dc4d42fe64bb3e2f75a1e99a
parent f3f02dd6aad5abed6193df912b7f1bbe6cbfcea8
Author: Felicitus <felicitus@felicitus.org>
Date:   Sat, 18 Jul 2015 03:53:07 +0200

Added implementations for getOriginalId and getOriginalFile

Diffstat:
Msrc/PartKeepr/ImageBundle/Entity/CachedImage.php | 19+++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/src/PartKeepr/ImageBundle/Entity/CachedImage.php b/src/PartKeepr/ImageBundle/Entity/CachedImage.php @@ -59,4 +59,20 @@ class CachedImage extends BaseEntity { return $this->cacheFile; } -}- \ No newline at end of file + + /** + * Returns the original ID + * @return int + */ + public function getOriginalId () { + return $this->originalId; + } + + /** + * Returns the original type + * @return string + */ + public function getOriginalType () { + return $this->originalType; + } +}