public function valueObject(string $valueObjectClass) : EmbeddedMapperDefiner
    {
        return new EmbeddedMapperDefiner($this->iocContainer, function (callable $embeddedMapperFactory) use ($valueObjectClass) {
            $this->embeddedObjectMapperFactories[$valueObjectClass] = $embeddedMapperFactory;
        });
    }
public function valueObject(string $valueObjectClass) : EmbeddedMapperDefiner
    {
        return new EmbeddedMapperDefiner($this->iocContainer, function (callable $embeddedMapperFactory) use ($valueObjectClass) {
            $this->embeddedObjectMapperFactories[$valueObjectClass] = $embeddedMapperFactory;
        });
    }
public function valueObject ( string $ valueObjectClass ) : EmbeddedMapperDefiner { return new EmbeddedMapperDefiner ( $ this -> iocContainer , function ( callable $ embeddedMapperFactory ) use ( $ valueObjectClass ) { $ this -> embeddedObjectMapperFactories [ $ valueObjectClass ] = $ embeddedMapperFactory ; } ) ; }
Registers a mapper for the supplied value object class.

@param string $valueObjectClass

@return EmbeddedMapperDefiner
Registers a mapper for the supplied value object class .