WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
403WebShell
403Webshell
Server IP : 38.242.244.58  /  Your IP : 216.73.217.62
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1486879.contaboserver.net 5.4.0-166-generic #183-Ubuntu SMP Mon Oct 2 11:28:33 UTC 2023 x86_64
User : root ( 0)
PHP Version : 7.4.3-4ubuntu2.19
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/sura/src/Entity/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/sura/src/Entity//Stock.php
<?php

namespace App\Entity;

use Cocur\Slugify\Slugify;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Finder\SplFileInfo;
use Symfony\Component\Serializer\Annotation\Groups;

/**
 * @ORM\Entity(repositoryClass="App\Repository\StockRepository")
 * @ORM\HasLifecycleCallbacks()
 */
class Stock
{
    /**
     * @Groups({"elastica"})
     * @ORM\Id()
     * @ORM\GeneratedValue()
     * @ORM\Column(type="integer")
     */
    private $id;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="string", length=255)
     */
    private $title;

    private $file_name;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="boolean")
     */
    private $Published=0;

    /**
     * @ORM\Column(type="text")
     */
    private $description;

    /**
     * @Groups({"elastica"})
     * @ORM\ManyToOne(targetEntity="App\Entity\StockCategory", inversedBy="stocks")
     * @ORM\JoinColumn(nullable=false)
     */
    private $category;

    /**
     * @Groups({"elastica"})
     * @ORM\ManyToOne(targetEntity="App\Entity\StockCategory", inversedBy="stocks2")
     */
    private $category2;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="datetime")
     */
    private $createAt;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $filePath;

    /**
     * @Groups({"elastica"})
     * @ORM\ManyToOne(targetEntity="App\Entity\User", inversedBy="stocks")
     * @ORM\JoinColumn(nullable=false)
     */
    private $contributor;

    /**
     * @Groups({"elastica"})
     * @ORM\ManyToOne(targetEntity="App\Entity\StockType", inversedBy="stocks")
     * @ORM\JoinColumn(nullable=true)
     */
    private $type;

    /**
     * @ORM\Column(type="float")
     */
    private $price;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="integer")
     */
    private $peopleNo;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $shootCode;

    /**
     * @ORM\Column(type="integer", nullable=true)
     */
    private $fileSize;

    /**
     * @ORM\Column(type="integer", nullable=true)
     */
    private $fileWidth;

    /**
     * @ORM\Column(type="integer", nullable=true)
     */
    private $fileHeight;

    /**
     * @ORM\Column(type="float", nullable=true)
     */
    private $priceLarge;

    /**
     * @ORM\Column(type="float", nullable=true)
     */
    private $priceSmall;

    /**
     * @ORM\Column(type="integer")
     */
    private $status;
    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="integer")
     */
    private $suraID;

    /**
     * @ORM\Column(type="boolean")
     */
    private $nofityModel;

    /**
     * @ORM\Column(type="datetime", nullable=true)
     */
    private $hibernateStart;

    /**
     * @ORM\Column(type="datetime", nullable=true)
     */
    private $hibernateEnd;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\FileCategory", mappedBy="stock")
     */
    private $fileCategories;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="text", nullable=true)
     */
    private $keywords;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\StockModel", mappedBy="stock")
     */
    private $stockModels;

    /**
     * @ORM\Column(type="datetime", nullable=true)
     */
    private $approveAt;

    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\User", inversedBy="approvedStocks")
     */
    private $approveBy;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\CartItem", mappedBy="Stock")
     */
    private $cartItems;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="string", length=255,nullable=true)
     */
    private $SameShootCode;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $FileName;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $ThumbName;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $PreviewName;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\StockRelease", mappedBy="TheStock")
     */
    private $stockReleases;

    /**
     * @ORM\Column(type="boolean")
     */
    private $IsExclusive=0;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $LicenceType;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $small_image_path;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $large_image_path;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $views;

    /**
     * @ORM\Column(type="boolean", nullable=true)
     */
    private $featured;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $reject_reason;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $image_type;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $image_sub_type;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $orientation;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $videoType;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="boolean", nullable=true)
     */
    private $Hibernated;

    /**
     * @ORM\Column(type="boolean", nullable=true)
     */
    private $Downloaded;
    /**
     * @ORM\Column(type="integer", nullable=true )
     */
    private $oldID;

    /**
     * @Groups({"elastica"})
     * @ORM\OneToMany(targetEntity="App\Entity\StocksCats", mappedBy="stock",fetch="EAGER")
     *
     */
    private $stocksCats;

    /**
     * @Groups({"elastica"})
     * @ORM\Column(type="boolean", nullable=true)
     */
    private $contributorSuspended;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $fileExtension;

    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\User")
     */
    private $exclusiveLicenceHolder;

    /**
     * @ORM\Column(type="integer", nullable=true)
     */
    private $ThumbWidth;

    /**
     * @ORM\Column(type="integer", nullable=true)
     */
    private $ThumbHeight;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $largeImageName;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     * @Groups({"elastica"})
     */
    private $videoResolution;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $sharable_image;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $video_fps;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $video_duration;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $search_page_video_name;

    /**
     * @ORM\Column(type="boolean")
     */
    private $processed = false;


    const PENDING_STOCK = 0; //Status=0
    const APPROVED_STOCK = 1; //Status
    const REJECTED_STOCK = -1;//Status
    const PUBLISHED_STOCK = true;//Status


    const IMAGE_THUMBS_DIR = "image_thumbs"; //name of imgThumbs dir


    public function __construct()
    {
        $this->fileCategories = new ArrayCollection();
        $this->stockModels = new ArrayCollection();
        $this->cartItems = new ArrayCollection();
        $this->stockReleases = new ArrayCollection();
        $this->stocksCats = new ArrayCollection();
    }
    /**
     * @return mixed
     */
    public function getOldID()
    {
        return $this->oldID;
    }

    /**
     * @param mixed $oldID
     */
    public function setOldID($oldID)
    {
        $this->oldID = $oldID;
    }

    public function getId(): ?int
    {
        return $this->id;
    }
    public function getFormattedId(): ?int
    {
        return $this->suraID;
    }


    public function getFile(){
        return new \SplFileInfo($this->getFilePath());
    }

    public function getTitle(): ?string
    {
        return $this->title;
    }

    public function getMediaName(): ?string
    {

        return 'suraimages-'.$this->getFormattedId().'-'.$this->getSlug() ;
    }
    public function getSlug(): ?string
    {
        $slugify = new Slugify();

        return $slugify->slugify($this->title) ;
    }

    public function setTitle(string $title): self
    {
        $this->title = $title;

        return $this;
    }

    public function getDescription(): ?string
    {
        return $this->description;
    }

    public function setDescription(string $description): self
    {
        $this->description = $description;

        return $this;
    }

    public function getCategory(): ?StockCategory
    {
        return $this->category;
    }

    public function setCategory(?StockCategory $category): self
    {
        $this->category = $category;

        return $this;
    }

    public function getCategory2(): ?StockCategory
    {
        return $this->category2;
    }

    public function setCategory2(?StockCategory $category2): self
    {
        $this->category2 = $category2;

        return $this;
    }

    public function getCreateAt(): ?\DateTimeInterface
    {
        return $this->createAt;
    }

    public function setCreateAt(\DateTimeInterface $createAt): self
    {
        $this->createAt = $createAt;

        return $this;
    }

    public function getFilePath(): ?string
    {
        return $this->filePath;
    }

    public function setFilePath(?string $filePath): self
    {
        $this->filePath = $filePath;

        return $this;
    }

    public function getContributor(): ?User
    {
        return $this->contributor;
    }

    public function setContributor(?User $contributor): self
    {
        $this->contributor = $contributor;

        return $this;
    }

    public function getType(): ?StockType
    {
        return $this->type;
    }

    public function setType(?StockType $type): self
    {
        $this->type = $type;

        return $this;
    }

    public function getPrice(): ?float
    {
        return $this->price;
    }

    public function setPrice(float $price): self
    {
        $this->price = $price;

        return $this;
    }

    public function getPeopleNo(): ?int
    {
        return $this->peopleNo;
    }

    public function setPeopleNo(int $peopleNo): self
    {
        $this->peopleNo = $peopleNo;

        return $this;
    }

    public function getShootCode(): ?string
    {
        return $this->shootCode;
    }

    public function setShootCode(?string $shootCode): self
    {
        $this->shootCode = $shootCode;

        return $this;
    }

    public function getFileSize(): ?int
    {
        return $this->fileSize;
    }

    public function setFileSize(?int $fileSize): self
    {
        $this->fileSize = $fileSize;

        return $this;
    }

    public function getFileWidth(): ?int
    {
        return $this->fileWidth;
    }

    public function setFileWidth(?int $fileWidth): self
    {
        $this->fileWidth = $fileWidth;

        return $this;
    }

    public function getFileHeight(): ?int
    {
        return $this->fileHeight;
    }

    public function setFileHeight(?int $fileHeight): self
    {
        $this->fileHeight = $fileHeight;

        return $this;
    }

    public function getPriceLarge(): ?float
    {
        return $this->priceLarge;
    }

    public function setPriceLarge(?float $priceLarge): self
    {
        $this->priceLarge = $priceLarge;

        return $this;
    }

    public function getPriceSmall(): ?float
    {
        return $this->priceSmall;
    }

    public function setPriceSmall(?float $priceSmall): self
    {
        $this->priceSmall = $priceSmall;

        return $this;
    }

    public function getStatus(): ?int
    {
        return $this->status;
    }

    public function setStatus(int $status): self
    {
        $this->status = $status;

        return $this;
    }

    public function getNofityModel(): ?bool
    {
        return $this->nofityModel;
    }

    public function setNofityModel(bool $nofityModel): self
    {
        $this->nofityModel = $nofityModel;

        return $this;
    }

    public function getHibernateStartCloned(): ?\DateTimeInterface
    {
        return  clone $this->hibernateStart;
    }

    public function setHibernateStartCloned(?\DateTimeInterface $hibernateStart): self
    {
        $this->hibernateStart = clone $hibernateStart;

        return $this;
    }

    public function getHibernateEndCloned(): ?\DateTimeInterface
    {
        return clone $this->hibernateEnd;
    }

    public function setHibernateEndCloned(?\DateTimeInterface $hibernateEnd): self
    {
        $this->hibernateEnd  = clone $hibernateEnd;

        return $this;
    }

    public function getHibernateStart(): ?\DateTimeInterface
    {
        return   $this->hibernateStart;
    }

    public function setHibernateStart(?\DateTimeInterface $hibernateStart): self
    {
        $this->hibernateStart =  $hibernateStart;

        return $this;
    }

    public function getHibernateEnd(): ?\DateTimeInterface
    {
        return  $this->hibernateEnd;
    }

    public function setHibernateEnd(?\DateTimeInterface $hibernateEnd): self
    {
        $this->hibernateEnd  =  $hibernateEnd;

        return $this;
    }


    /**
     * @return Collection|FileCategory[]
     */
    public function getFileCategories(): Collection
    {
        return $this->fileCategories;
    }

    public function addFileCategory(FileCategory $fileCategory): self
    {
        if (!$this->fileCategories->contains($fileCategory)) {
            $this->fileCategories[] = $fileCategory;
            $fileCategory->setStock($this);
        }

        return $this;
    }

    public function removeFileCategory(FileCategory $fileCategory): self
    {
        if ($this->fileCategories->contains($fileCategory)) {
            $this->fileCategories->removeElement($fileCategory);
            // set the owning side to null (unless already changed)
            if ($fileCategory->getStock() === $this) {
                $fileCategory->setStock(null);
            }
        }

        return $this;
    }

    public function getKeywords()
    {
        return $this->keywords;
    }

    public function setKeywords($keywords): self
    {
        $this->keywords = $keywords;

        return $this;
    }

    /**
     * @return Collection|StockModel[]
     */
    public function getStockModels(): Collection
    {
        return $this->stockModels;
    }

    public function addStockModel(StockModel $stockModel): self
    {
        if (!$this->stockModels->contains($stockModel)) {
            $this->stockModels[] = $stockModel;
            $stockModel->setStock($this);
        }

        return $this;
    }

    public function removeStockModel(StockModel $stockModel): self
    {
        if ($this->stockModels->contains($stockModel)) {
            $this->stockModels->removeElement($stockModel);
            // set the owning side to null (unless already changed)
            if ($stockModel->getStock() === $this) {
                $stockModel->setStock(null);
            }
        }

        return $this;
    }

    public function getApproveAt(): ?\DateTimeInterface
    {
        return $this->approveAt;
    }

    public function setApproveAt(?\DateTimeInterface $approveAt): self
    {
        $this->approveAt = $approveAt;

        return $this;
    }

    public function getApproveBy(): ?User
    {
        return $this->approveBy;
    }

    public function setApproveBy(?User $approveBy): self
    {
        $this->approveBy = $approveBy;

        return $this;
    }


    /**
     * @return mixed
     */
    public function getFileName()
    {
        return $this->FileName;
    }

    /**
     * @param mixed $file_name
     */
    public function setFileName($file_name): void
    {
        $this->FileName = $file_name;
    }

    public function getFileUrl(){
        return 'uploads/ftp/'.$this->getContributor()->getUsernameCanonical().'/'.$this->file_name;
    }
    public function geUploadUrl(){
        return 'uploads/stock/'.$this->getFilePath();
    }

    public function __toString()
    {
        return $this->title;
    }

    /**
     * @return Collection|CartItem[]
     */
    public function getCartItems(): Collection
    {
        return $this->cartItems;
    }

    public function addCartItem(CartItem $cartItem): self
    {
        if (!$this->cartItems->contains($cartItem)) {
            $this->cartItems[] = $cartItem;
            $cartItem->setStock($this);
        }

        return $this;
    }

    public function removeCartItem(CartItem $cartItem): self
    {
        if ($this->cartItems->contains($cartItem)) {
            $this->cartItems->removeElement($cartItem);
            // set the owning side to null (unless already changed)
            if ($cartItem->getStock() === $this) {
                $cartItem->setStock(null);
            }
        }

        return $this;
    }

    public function getPublished(): ?bool
    {
        return $this->Published;
    }

    public function setPublished(bool $Published): self
    {
        $this->Published = $Published;

        return $this;
    }

    public function getSameShootCode(): ?string
    {
        return $this->SameShootCode;
    }

    public function setSameShootCode(string $SameShootCode): self
    {
        $this->SameShootCode = $SameShootCode;

        return $this;
    }

    public function getThumbName(): ?string
    {
        return $this->ThumbName;
    }

    public function setThumbName(?string $ThumbName): self
    {
        $this->ThumbName = $ThumbName;

        return $this;
    }

    public function getPreviewName(): ?string
    {
        return $this->PreviewName;
    }

    public function setPreviewName(?string $PreviewName): self
    {
        $this->PreviewName = $PreviewName;

        return $this;
    }

    /**
     * @return Collection|StockRelease[]
     */
    public function getStockReleases(): Collection
    {
        return $this->stockReleases;
    }

    public function addStockRelease(StockRelease $stockRelease): self
    {
        if (!$this->stockReleases->contains($stockRelease)) {
            $this->stockReleases[] = $stockRelease;
            $stockRelease->setTheStock($this);
        }

        return $this;
    }

    public function removeStockRelease(StockRelease $stockRelease): self
    {
        if ($this->stockReleases->contains($stockRelease)) {
            $this->stockReleases->removeElement($stockRelease);
            // set the owning side to null (unless already changed)
            if ($stockRelease->getTheStock() === $this) {
                $stockRelease->setTheStock(null);
            }
        }

        return $this;
    }

    public function getIsExclusive(): ?bool
    {
        return $this->IsExclusive;
    }

    public function setIsExclusive(bool $IsExclusive): self
    {
        $this->IsExclusive = $IsExclusive;

        return $this;
    }

    public function getLicenceType(): ?string
    {
        return $this->LicenceType;
    }

    public function setLicenceType(?string $LicenceType): self
    {
        $this->LicenceType = $LicenceType;

        return $this;
    }

    public function getSmallImagePath(): ?string
    {
        return $this->small_image_path;
    }

    public function setSmallImagePath(?string $small_image_path): self
    {
        $this->small_image_path = $small_image_path;

        return $this;
    }

    public function getLargeImagePath(): ?string
    {
        return $this->large_image_path;
    }

    public function setLargeImagePath(?string $large_image_path): self
    {
        $this->large_image_path = $large_image_path;

        return $this;
    }

    public function getViews(): ?string
    {
        return $this->views;
    }

    public function setViews(?string $views): self
    {
        $this->views = $views;

        return $this;
    }

    public function getFeatured(): ?bool
    {
        return $this->featured;
    }

    public function setFeatured(?bool $featured): self
    {
        $this->featured = $featured;

        return $this;
    }

    /**
     * @return mixed
     */
    public function getSuraID()
    {
        return $this->suraID;
    }

    /**
     * @param mixed $suraID
     */
    public function setSuraID($suraID): void
    {
        $this->suraID = $suraID;
    }

    public function getRejectReason(): ?string
    {
        return $this->reject_reason;
    }

    public function setRejectReason(?string $reject_reason): self
    {
        $this->reject_reason = $reject_reason;

        return $this;
    }

    public function getImageType(): ?string
    {
        return $this->image_type;
    }

    public function setImageType(?string $image_type): self
    {
        $this->image_type = $image_type;

        return $this;
    }

    public function getImageSubType(): ?string
    {
        return $this->image_sub_type;
    }

    public function setImageSubType(?string $image_sub_type): self
    {
        $this->image_sub_type = $image_sub_type;

        return $this;
    }

    public function getOrientation(): ?string
    {
        return $this->orientation;
    }

    public function setOrientation(?string $orientation): self
    {
        $this->orientation = $orientation;

        return $this;
    }

    public function getVideoType(): ?string
    {
        return $this->videoType;
    }

    public function setVideoType(?string $videoType): self
    {
        $this->videoType = $videoType;

        return $this;
    }

    public function getHibernated(): ?bool
    {
        return $this->Hibernated;
    }

    public function setHibernated(?bool $Hibernated): self
    {
        $this->Hibernated = $Hibernated;

        return $this;
    }

    public function getDownloaded(): ?bool
    {
        return $this->Downloaded;
    }

    public function setDownloaded(?bool $Downloaded): self
    {
        $this->Downloaded = $Downloaded;

        return $this;
    }

    /**
     * @return Collection|StocksCats[]
     */
    public function getStocksCats()
    {
        return $this->stocksCats;
    }

    public function addStocksCat(StocksCats $stocksCat): self
    {
        if (!$this->stocksCats->contains($stocksCat)) {
            $this->stocksCats[] = $stocksCat;
            $stocksCat->setStock($this);
        }

        return $this;
    }

    public function removeStocksCat(StocksCats $stocksCat): self
    {
        if ($this->stocksCats->contains($stocksCat)) {
            $this->stocksCats->removeElement($stocksCat);
            // set the owning side to null (unless already changed)
            if ($stocksCat->getStock() === $this) {
                $stocksCat->setStock(null);
            }
        }

        return $this;
    }

    public function getContributorSuspended(): ?bool
    {
        return $this->contributorSuspended;
    }

    public function setContributorSuspended(?bool $contributorSuspended): self
    {
        $this->contributorSuspended = $contributorSuspended;

        return $this;
    }

//    /** @ORM\PostPersist() */
//    public function doStuffOnPostPersist()
//    {
//        $this->value = 'changed from postPersist callback!';
//    }

    public function getFileExtension(): ?string
    {
        return $this->fileExtension;
    }

    public function setFileExtension(?string $fileExtension): self
    {
        $this->fileExtension = $fileExtension;

        return $this;
    }

    public function getExclusiveLicenceHolder(): ?User
    {
        return $this->exclusiveLicenceHolder;
    }

    public function setExclusiveLicenceHolder(?User $exclusiveLicenceHolder): self
    {
        $this->exclusiveLicenceHolder = $exclusiveLicenceHolder;

        return $this;
    }

    public function getThumbWidth(): ?int
    {
        return $this->ThumbWidth;
    }

    public function setThumbWidth(?int $ThumbWidth): self
    {
        $this->ThumbWidth = $ThumbWidth;

        return $this;
    }

    public function getThumbHeight(): ?int
    {
        return $this->ThumbHeight;
    }

    public function setThumbHeight(?int $ThumbHeight): self
    {
        $this->ThumbHeight = $ThumbHeight;

        return $this;
    }

    public function getLargeImageName(): ?string
    {
        return $this->largeImageName;
    }

    public function setLargeImageName(?string $largeImageName): self
    {
        $this->largeImageName = $largeImageName;

        return $this;
    }

    public function getVideoResolution(): ?string
    {
        return $this->videoResolution;
    }

    public function setVideoResolution(?string $videoResolution): self
    {
        $this->videoResolution = $videoResolution;

        return $this;
    }

    public function getSharableImage(): ?string
    {
        return $this->sharable_image;
    }

    public function setSharableImage(?string $sharable_image): self
    {
        $this->sharable_image = $sharable_image;

        return $this;
    }

    public function getVideoFps(): ?string
    {
        return $this->video_fps;
    }

    public function setVideoFps(?string $video_fps): self
    {
        $this->video_fps = $video_fps;

        return $this;
    }

    public function getVideoDuration(): ?string
    {
        return $this->video_duration;
    }

    public function setVideoDuration(?string $video_duration): self
    {
        $this->video_duration = $video_duration;

        return $this;
    }

    public function getSearchPageVideoName(): ?string
    {
        return $this->search_page_video_name;
    }

    public function setSearchPageVideoName(?string $search_page_video_name): self
    {
        $this->search_page_video_name = $search_page_video_name;

        return $this;
    }

    public function getProcessed(): ?bool
    {
        return $this->processed;
    }

    public function setProcessed(bool $processed): self
    {
        $this->processed = $processed;

        return $this;
    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit