public getParent ( ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface | ||
return | Sulu\Bundle\ContactBundle\Entity\AccountInterface |
public function getParent()
{
$account = $this->entity->getParent();
if ($account) {
return new self($account, $this->locale);
}
return;
}