public function define(callable $subClassMapperDefinitionCallback)
    {
        $subclassDefinition = $this->constructSubclassDefinition();
        call_user_func($subClassMapperDefinitionCallback, $subclassDefinition);
        call_user_func($this->callback, $subclassDefinition);
    }
public function define(callable $subClassMapperDefinitionCallback)
    {
        $subclassDefinition = $this->constructSubclassDefinition();
        call_user_func($subClassMapperDefinitionCallback, $subclassDefinition);
        call_user_func($this->callback, $subclassDefinition);
    }
public function define ( callable $ subClassMapperDefinitionCallback ) { $ subclassDefinition = $ this -> constructSubclassDefinition ( ) ; call_user_func ( $ subClassMapperDefinitionCallback , $ subclassDefinition ) ; call_user_func ( $ this -> callback , $ subclassDefinition ) ; }
Defines the mapper for the subclass according to the supplied callback.

The callback will be passed an instance of @see MapperDefinition

Example:
<code>
->define(function (MapperDefinition $map) {
$map->type(SomeClass::class);
});
</code>

@param callable $subClassMapperDefinitionCallback

@return void
Defines the mapper for the subclass according to the supplied callback .