welcome back to dyb-tech
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Doctrine\ORM\Exception;
|
||||
|
||||
use function sprintf;
|
||||
|
||||
final class InvalidHydrationMode extends ORMException implements ManagerException
|
||||
{
|
||||
public static function fromMode(string $mode): self
|
||||
{
|
||||
return new self(sprintf('"%s" is an invalid hydration mode.', $mode));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user