public function usingPaginator($paginator = null): TransformationFactory
	{
		if (! ($this->resource instanceof Collection) || ! ($this->entity instanceof LengthAwarePaginator)) {
			throw new \InvalidArgumentException('Bad Request Issued');
		}

		$this->resource->setPaginator(new IlluminatePaginatorAdapter($this->entity));

		return $this;
	}