21 lines
424 B
PHP
21 lines
424 B
PHP
<?php
|
|
|
|
namespace App\Composant\User\Infrastructure;
|
|
|
|
use App\Composant\User\Domain\User;
|
|
use App\Composant\User\Domain\UserDataMapper;
|
|
use Doctrine\Persistence\ManagerRegistry;
|
|
|
|
|
|
class DoctrineUser implements UserDataMapper
|
|
{
|
|
public function findById(int $id): User
|
|
{
|
|
// TODO: Implement findById() method.
|
|
}
|
|
|
|
public function findAll(): array
|
|
{
|
|
// TODO: Implement findAll() method.
|
|
}
|
|
} |