transformWithFilter($allocation); } /** * Determine which transformer filter to apply. * * @param \Pterodactyl\Models\Allocation $allocation * @return array */ protected function transformWithFilter(Allocation $allocation) { return $allocation->toArray(); } }