Skip to content

Commit

Permalink
fix issue calling Smtp table
Browse files Browse the repository at this point in the history
  • Loading branch information
felix Valerio committed Apr 24, 2024
1 parent bd333b9 commit dc235db
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions Entity/Smtp.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/

#[ORM\Table(name: 'nti_smtp_configuration')]
#[ORM\Entity(repositoryClass: 'NTI\EmailBundle\Repository\SmtpRepository')]
#[ORM\HasLifecycleCallbacks()]
class Smtp {

Expand Down
22 changes: 22 additions & 0 deletions Repository/SmtpRepository.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace NTI\EmailBundle\Repository;


use Doctrine\Persistence\ManagerRegistry;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use NTI\EmailBundle\Entity\Smtp;

/**
* EmailRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class SmtpRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Smtp::class);
}
}

0 comments on commit dc235db

Please sign in to comment.