public function collectionWith($entity, $transformer, $key = null): TransformationFactory
	{
		$this->entity      = $entity;
		$this->transformer = $transformer;
		$this->resource    = new Collection($entity, $transformer, $key);

		return $this;
	}