Installed api platform.
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
use ApiPlatform\Core\Annotation\ApiResource;
|
||||
use App\Repository\FileRepository;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
#[ApiResource]
|
||||
#[ORM\Entity(repositoryClass: FileRepository::class)]
|
||||
class File
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user