/**
* Returns the creation date of the media.
*
* @return DateTimeInterface|null
*/
public function getCreated() { if (!
$this->
getMedia() instanceof \Shopware\Models\Media\Media
) { return null;
} return $this->
getMedia()->
getCreated();
} /**
* Returns the id of the user, who uploaded the file.
*
* @return int|null
*/
public function getUserId() { if (!
$this->
getMedia() instanceof \Shopware\Models\Media\Media
) { return null;
}