<?php

class AttachmentTransformer extends Transformer
{

	/**
	 * Tranform an area
	 *
	 * @param $attachment
	 * @return array
	 */
	public function transform($attachment)
	{
		return [
			'id' => (int)$attachment['id'],
			'name' => $attachment['name'],
			'address' => $attachment['address']
		];
	}

}