<?php

class LinkTransformer extends Transformer
{

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

}