public function setResource(PersistentResource $resource) { throw new \RuntimeException('Setting the resource on an ImageVariant is not supported.', 1366627480); }