PHP code example of gales / maker-bundle
1. Go to this page and download the library: Download gales/maker-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gales / maker-bundle example snippets
// src/Entity/Solicitud.php
namespace App\Entity;
...
class SolicitudBanco
{
...
/**
* @ORM\ManyToOne(targetEntity=SolicitudEstado::class)
* @ORM\JoinColumn(nullable=false)
*/
private $estado;
...
// src/Entity/SolicitudEstado.php
namespace App\Entity;
...
/**
...
* @GalesMaker(orderBy="descripcion")
*/
class SolicitudEstado
{
...
private $descripcion;
...