Skip to content

Commit

Permalink
Merge pull request #13 from FVSoftwareDeveloper/master
Browse files Browse the repository at this point in the history
fix issue calling Smtp table
  • Loading branch information
angelbencosme authored Apr 24, 2024
2 parents 31b60ec + dc235db commit 4f80d1d
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 4f80d1d

Please sign in to comment.