mirror of
https://github.com/doctrine/doctrine-website.git
synced 2026-03-23 22:32:11 +01:00
17 lines
378 B
PHP
17 lines
378 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Doctrine\Website\Repositories;
|
|
|
|
use Doctrine\SkeletonMapper\ObjectRepository\BasicObjectRepository;
|
|
use Doctrine\Website\Model\TeamMember;
|
|
|
|
class TeamMemberRepository extends BasicObjectRepository
|
|
{
|
|
public function findOneByGithub(string $github) : ?TeamMember
|
|
{
|
|
return $this->findOneBy(['github' => $github]);
|
|
}
|
|
}
|