app/Entity/Schema/ORM/SocialProfile.php line 9

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Sq\Entity\Schema\ORM;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Sq\Service\Repository\ORM\SocialProfileRepository;
  5. #[ORM\Entity(repositoryClassSocialProfileRepository::class)]
  6. abstract class SocialProfile extends SocialNetwork implements BelongsToWorkspaceInterfaceSocialProfileInterface
  7. {
  8.     public static function isLegacyOnly(): bool
  9.     {
  10.         return false;
  11.     }
  12.     /**
  13.      * @return string A string in a format of "<Display Name> (<Network> <Profile Type>)", e.g. "Sarah Smart (Facebook Page)"
  14.      */
  15.     abstract public function getDisplayNameWithNetworkAndProfileType(): string;
  16. }