src/app/n2n/impl/persistence/orm/property/hangar/ManagedFilePropDef.php
public function resetPropSourceDef(PropSourceDef $propSourceDef) {
		if ($propSourceDef->hasPhpPropertyAnno(AnnoManagedFile::class)) {
			$phpAnno = $propSourceDef->getPhpPropertyAnno(AnnoManagedFile::class);
			
			if (null !== ($annoManagedFile = $phpAnno->determineAnnotation())) {
				CastUtils::assertTrue($annoManagedFile instanceof AnnoManagedFile);
				if (null !== ($fileLocator = $annoManagedFile->getFileLocator())) {
					$propSourceDef->removePhpUse(get_class($fileLocator));
				}
			}
			
			$propSourceDef->removePhpUse(AnnoManagedFile::class);
			$propSourceDef->removePhpPropertyAnno(AnnoManagedFile::class);
		}
		
		$propSourceDef->removePhpUse($this->determineFileManagerLookupId($propSourceDef));
	}
public function resetPropSourceDef(PropSourceDef $propSourceDef) {
		if ($propSourceDef->hasPhpPropertyAnno(AnnoManagedFile::class)) {
			$phpAnno = $propSourceDef->getPhpPropertyAnno(AnnoManagedFile::class);
			
			if (null !== ($annoManagedFile = $phpAnno->determineAnnotation())) {
				CastUtils::assertTrue($annoManagedFile instanceof AnnoManagedFile);
				if (null !== ($fileLocator = $annoManagedFile->getFileLocator())) {
					$propSourceDef->removePhpUse(get_class($fileLocator));
				}
			}
			
			$propSourceDef->removePhpUse(AnnoManagedFile::class);
			$propSourceDef->removePhpPropertyAnno(AnnoManagedFile::class);
		}
		
		$propSourceDef->removePhpUse($this->determineFileManagerLookupId($propSourceDef));
	}
{@inheritDoc}
@see \hangar\api\HangarPropDef::resetPropSourceDef()