Пример #1
0
 /**
  * Execute a custom closure function to the source and/or destination types before member mapping
  *
  * @param \Closure $func Callback for the source/destination types
  * @return $this
  */
 public function beforeMap(\Closure $func)
 {
     $this->typeMap->setBeforeMapFunc($func);
     return $this;
 }