Skip to content

Instantly share code, notes, and snippets.

@awartoft
Created November 12, 2012 09:54
Show Gist options
  • Save awartoft/4058434 to your computer and use it in GitHub Desktop.
Save awartoft/4058434 to your computer and use it in GitHub Desktop.
<?php
/**
* @author Antoine Hedgecock <[email protected]>
* @author Jonas Eriksson <[email protected]>
*
* @copyright PMG Media Group AB
*/
namespace Domain\Entity\ServiceConfiguration;
use Doctrine\ORM\Mapping as ORM;
use Domain\Entity\AbstractServiceConfiguration;
/**
* @category Domain
* @package Entity
* @subpackage ServiceConfiguration
*
* @ORM\Entity(repositoryClass="MCN\Object\Entity\Repository")
*/
class Parking extends AbstractServiceConfiguration
{
public function jsonSerialize()
{
return array(
'id' => $this->id
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment