public function asType(string $classType)
    {
        $this->define(function (MapperDefinition $map) use ($classType) {
            $map->type($classType);
        });
    }
public function asType(string $classType)
    {
        $this->define(function (MapperDefinition $map) use ($classType) {
            $map->type($classType);
        });
    }
public function asType ( string $ classType ) { $ this -> define ( function ( MapperDefinition $ map ) use ( $ classType ) { $ map -> type ( $ classType ) ; } ) ; }
Defines the type of the subclass without any extra properties mappings.

@param string $classType

@return void
Defines the type of the subclass without any extra properties mappings .