src/app/n2n/impl/persistence/orm/property/hangar/scalar/TextPropDef.php
public function createMagCollection(PropSourceDef $propSourceDef = null): MagCollection {
		$magCollection = new MagCollection();
		
		$size = $this->columnDefaults->getDefaultTextSize();
		$charset = $this->columnDefaults->getDefaultTextCharset();
		
		if (null !== $propSourceDef) {
			$size = $propSourceDef->getHangarData()->get(self::PROP_NAME_SIZE, false, $size);
			$charset = $propSourceDef->getHangarData()->get(self::PROP_NAME_CHARSET, false, $charset);
		}
		$magCollection->addMag(self::PROP_NAME_SIZE, new NumericMag('Size', $size, true));
		$magCollection->addMag(self::PROP_NAME_CHARSET, new StringMag('Charset', $charset));
		
		return $magCollection;
	}
public function createMagCollection(PropSourceDef $propSourceDef = null): MagCollection {
		$magCollection = new MagCollection();
		
		$size = $this->columnDefaults->getDefaultTextSize();
		$charset = $this->columnDefaults->getDefaultTextCharset();
		
		if (null !== $propSourceDef) {
			$size = $propSourceDef->getHangarData()->get(self::PROP_NAME_SIZE, false, $size);
			$charset = $propSourceDef->getHangarData()->get(self::PROP_NAME_CHARSET, false, $charset);
		}
		$magCollection->addMag(self::PROP_NAME_SIZE, new NumericMag('Size', $size, true));
		$magCollection->addMag(self::PROP_NAME_CHARSET, new StringMag('Charset', $charset));
		
		return $magCollection;
	}
{@inheritDoc}
@see \hangar\api\HangarPropDef::createMagCollection()