PHP code example of fle / postgresql-type-bundle
1. Go to this page and download the library: Download fle/postgresql-type-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/ */
fle / postgresql-type-bundle example snippets
use Doctrine\ORM\Mapping as ORM;
use FLE\Bundle\PostgresqlTypeBundle\Annotation\ManyToAny;
/**
* @ORM\Entity
*/
class MyEntity
{
/**
* @var mixed
* @ManyToAny()
*/
protected $mixedEntity;
//...
}
$bundles = array(
// ...
new FLE\Bundle\PostgresqlTypeBundle\FLEPostgresqlTypeBundle(),
// ...
);
array("Hello", "World")