partkeepr

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

TempImage.php (363B)


      1 <?php
      2 
      3 namespace PartKeepr\ImageBundle\Entity;
      4 
      5 use Doctrine\ORM\Mapping as ORM;
      6 
      7 /**
      8  * Represents a temporary image. Temporary images are used when
      9  * a user uploaded an image, but not attached it to an entity.
     10  *
     11  * @ORM\Entity
     12  */
     13 class TempImage extends Image
     14 {
     15     public function __construct()
     16     {
     17         parent::__construct(Image::IMAGE_TEMP);
     18     }
     19 }