Kraft Paper Box with Glossy Sachet Mockup

Facebook
Twitter
Reddit
Telegram
Vkontakte
Referral link
Kraft Paper Box with Glossy Sachet Mockup
Kraft Paper Box with Glossy Sachet Mockup
Kraft Paper Box with Glossy Sachet Mockup
Kraft Paper Box with Glossy Sachet Mockup
Kraft Paper Box with Glossy Sachet Mockup
Kraft Paper Box with Glossy Sachet Mockup
Kraft Paper Box with Glossy Sachet Mockup
Kraft Paper Box with Glossy Sachet Mockup

Mockup description

\Entity\Image\ImageRepository;
use App\Model\Media\Service\FileUploader;
use DateTimeImmutable;

class EditHandler
{
/**
* @var ImageRepository
*/
private $imageRepository;
/**
* @var Flusher
*/
private $flusher;
/**
* @var FileUploader
*/
private $uploader;

/**
* EditHandler constructor.
* @param ImageRepository $imageRepository
* @param Flusher $flusher
* @param FileUploader $uploader
*/
public function __construct(ImageRepository $imageRepository, Flusher $flusher, FileUploader $uploader)
{
$this->imageRepository = $imageRepository;
$this->flusher = $flusher;
$this->uploader = $uploader;
}

/**
* @param Command $command
*/
public function handle(Command $command): void
{
$image = $this->imageRepository->findById($command->id);

if (($command->file) && ($newUrl = $this->uploader->upload($command->file))) {
$image->setUrl($newUrl);
}

$image->setName($command->name);
$image->setDescription($command->description);

if ($command->dateCreate){
$dateCreate = new DateTimeImmutable($command->dateCreate);
}else{
$dateCreate = null;
}
$image->setDateCreate($dateCreate);

if ($command->dateUpdate){
$dateUpdate = new DateTimeImmutable($command->dateUpdate);
}else{
$dateUpdate = null;
}
$image->setDateUpdate($dateUpdate);

$this->imageRepository->add($image);

$this->flusher->flush();
}
}

Present your design with this mockup of a kraft paper box with glossy sachet in a half side view. Smart layers help to apply your design. Includes special layers and smart objects for your artwork. Premium quality and simple to use.

This mockup is available for purchase on Yellow Images only.

Sample design is not included in the download file.

Price

Add to Cart
Download
File type

Free Trial

Intended for testing purposes only. Products downloaded under this license can only be used for display on a personal computer, or for making image prints for personal use. Can't be used for any public display, showcasing, portfolio, or ads.


Standard License

Works for small commercial and non-commercial projects. Covers projects valued at 10,000 USD or less. Allows social media posting, and digital and printed ads on local markets. Can't be used for native and web apps or games.


Enhanced License

Best for larger commercial and non-commercial projects, regardless of their estimated value. Grants unlimited rights for digital and physical ads, social media publications, broadcast, and streaming worldwide. Allows transferring the license to the purchased items to a third party.


Licenses details
License type
Enterprise and more Contact us

Product Specifications

ID:
48369
File type:
PSD Mockup
Dimensions:
4000x4000px
Size:
40.34 MB
License:
Exclusivity:
Yes
ID:
48369
File type:
PSD Mockup
Dimensions:
4000x4000px
Size:
40.34 MB
License:
Exclusivity:
Yes
ID:
48369
File type:
JPG image
Dimensions:
4000x4000px
Size:
1.87 MB
License:
Exclusivity:
Yes
ID:
48369
File type:
JPG image
Dimensions:
4000x4000px
Size:
1.87 MB
License:
Exclusivity:
Yes

Comments


Log in or create an account to leave a comment.
Be the first to leave a comment.