for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace AppBundle\Model;
use JMS\Serializer\Annotation\Accessor;
use JMS\Serializer\Annotation\Type;
class FacebookResponse
{
/**
* @var string
*
* @Type("string")
* @Accessor(getter="getId")
*/
protected $id;
* @Accessor(getter="getEmail")
protected $email;
* @Accessor(getter="getFirstName")
protected $firstName;
* @Accessor(getter="getLastName")
protected $lastName;
* @return string
public function getId()
return $this->id;
}
public function getEmail()
return $this->email;
public function getFirstName()
return $this->firstName;
public function getLastName()
return $this->lastName;