public function setTransformations(array $transformations) { $this->transformations = $transformations; return $this; }