Neos\Media\Domain\Model\ImageVariant::__construct PHP Метод

__construct() публичный Метод

Constructs a new Image Variant based on the given original
public __construct ( Image $originalAsset )
$originalAsset Image The original Image asset this variant is derived from
    public function __construct(Image $originalAsset)
    {
        $this->originalAsset = $originalAsset;
        $this->thumbnails = new ArrayCollection();
        $this->adjustments = new ArrayCollection();
        $this->tags = new ArrayCollection();
        $this->lastModified = new \DateTime();
    }