I am following this from symfony docs
http://symfony.com/doc/current/cookbook/security/entity_provider.html
class UserRepository extends EntityRepository implements UserProviderInterface
{
public function loadUserByUsername($username)
{
Now my questions , if i want to have my own functions like retrievePassowrd() then can i declare that in repository or i need to create a new interface and then extend userRepo from that intertface
Yes, you can have your own functions in the repository.