Compare commits
4 Commits
8ae704284a
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| c37aba4664 | |||
| acfc4eccde | |||
| 8e830192c5 | |||
| 2f3b397384 |
@@ -2,6 +2,4 @@
|
|||||||
|
|
||||||
La Liga BackEnd Repository
|
La Liga BackEnd Repository
|
||||||
|
|
||||||
Prueba borrado de cache.
|
Prueba borrado de cache..
|
||||||
|
|
||||||
Working Fine.
|
|
||||||
+1
-1
@@ -22,7 +22,7 @@
|
|||||||
"symfony/twig-bundle": "6.3.*",
|
"symfony/twig-bundle": "6.3.*",
|
||||||
"symfony/validator": "6.3.*",
|
"symfony/validator": "6.3.*",
|
||||||
"symfony/yaml": "6.3.*",
|
"symfony/yaml": "6.3.*",
|
||||||
"ext-pdo": "*"
|
"ext-pdo": "*"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
|
|||||||
@@ -26,6 +26,9 @@ class CustomRole
|
|||||||
#[ORM\Column(nullable: true)]
|
#[ORM\Column(nullable: true)]
|
||||||
private ?int $entityId = null;
|
private ?int $entityId = null;
|
||||||
|
|
||||||
|
#[ORM\Column(length: 255, nullable: true)]
|
||||||
|
private ?string $entityName = null;
|
||||||
|
|
||||||
public function getId(): ?int
|
public function getId(): ?int
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
@@ -78,4 +81,16 @@ class CustomRole
|
|||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getEntityName(): ?string
|
||||||
|
{
|
||||||
|
return $this->entityName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setEntityName(?string $entityName): static
|
||||||
|
{
|
||||||
|
$this->entityName = $entityName;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{% extends 'base.html.twig' %}
|
||||||
|
|
||||||
|
{% block title %}Hello AdminController!{% endblock %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
<style>
|
||||||
|
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
|
||||||
|
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<div class="example-wrapper">
|
||||||
|
<h1>Hello {{ controller_name }}! ✅</h1>
|
||||||
|
|
||||||
|
This friendly message is coming from:
|
||||||
|
<ul>
|
||||||
|
<li>Your controller at <code>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/src/Controller/AdminController.php</code></li>
|
||||||
|
<li>Your template at <code>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/templates/admin/index.html.twig</code></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user