Skip to content

Commit

Permalink
fix undefined method bug
Browse files Browse the repository at this point in the history
  • Loading branch information
roshedgostarandev1 committed Aug 27, 2019
1 parent 5127964 commit 252a2f9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Classes/Transform.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,19 @@ public function getTransformedData() : array
return $this->transformedData;
}

/**
* Set transformer
*
* @param TransformerInterface $transformer
* @return $this
*/
public function setTransformer(TransformerInterface $transformer)
{
$this->transformer = $transformer;

return $this;
}

/**
* Run transformer
*
Expand Down

0 comments on commit 252a2f9

Please sign in to comment.