Beispiel #1
0
 /**
  * @param Fluent $builder
  */
 public function map(Fluent $builder)
 {
     $this->setType($builder->getBuilder());
     $this->mapping->map($builder);
     $builder->build();
 }
Beispiel #2
0
 /**
  * @param Mapping $mapping
  *
  * @throws MappingException
  */
 public function add(Mapping $mapping)
 {
     $mapping->addMapperTo($this);
 }