Skip to content

Instantly share code, notes, and snippets.

@gigablah
Created August 7, 2013 07:15
Show Gist options
  • Select an option

  • Save gigablah/6171882 to your computer and use it in GitHub Desktop.

Select an option

Save gigablah/6171882 to your computer and use it in GitHub Desktop.
UserInterface
<?php
namespace Acme\Bundle\WebBundle\Security\User;
use Symfony\Component\Security\Core\User\UserInterface as BaseUserInterface;
class UserInterface extends BaseUserInterface
{
/**
* Email, e.g. john@example.com
*
* @return string
*/
public function getEmail();
/**
* Mobile phone number, e.g. 98880000
*
* @return string
*/
public function getPhone();
/**
* Job title, e.g. Senior Associate
*
* @return string
*/
public function getJobTitle();
/**
* Designation, e.g. Mr.
*
* @return string
*/
public function getTitle();
/**
* First name, e.g. John
*
* @return string
*/
public function getFirstname();
/**
* Last name, e.g. Doe
*
* @return string
*/
public function getLastname();
/**
* Photo pathname, e.g. /d/8/7/f/d87f8f5154125_1_V120B.jpg
*
* @return string
*/
public function getPhoto();
/**
* Agency name, e.g. Acme Corporation
*
* @return string
*/
public function getAgencyName();
/**
* Agency logo pathname, e.g. /0/e/a/b/0eab705314549_1_V120.jpg
*
* @return string
*/
public function getAgencyLogo();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment