Questions tagged as 'doctrine'

1
answer

Install Codeigniter 3 with Doctrine and Composer

How best to install doctrine via
asked by 04.05.2015 / 23:35
2
answers

How to configure the doctrine terminal together with a Codeigniter project?

I'm doing the Doctrine integration in Codeigniter but I'm having trouble configuring the command line. First of all it is worth mentioning that I followed the Doctrine page. In order to install the dependencies correctly, I used Composer...
asked by 30.01.2014 / 22:57
2
answers

Use of unmapped entities in Symfony2

I have read that the Entity folder of a bundle normally stores the entities that will be persisted (in my case, by Doctrine) in the database. But for the ease of working with "annotations" formatting within an Entity, I have chosen to create...
asked by 13.12.2013 / 21:55
2
answers

Doctrine: ManyToMany Relationship with Extra Fields

I have a many-to-many relationship between two tables: Products and Orders. Doctrine then generates a third table. Until then calm down. But I wanted to generate in this third table more fields (qtde and unit value at the time of purchase)...
asked by 26.05.2017 / 15:34
2
answers

PDO vs Doctrine

Work with system development in PHP , more focused on e-commerce . Currently I use PDO to perform my connection to the database, but out of curiosity I decided to search on Doctrine , because when I was developing in C # in NHibernate , w...
asked by 24.03.2016 / 12:54
1
answer

Relation between 3 entities

I have the following tables: +----------+ +----------------------+ +------------+ | Produtos | | ProdutosVsCategorias | | Categorias | +----------+ +----------------------+ +------------+ - ID - ID - ID - TITULO...
asked by 28.08.2015 / 13:03
2
answers

Data received via Request using Doctrine need to be handled?

I'm developing a new project, it's the first time I'm using Doctrine with Silex and I'm in doubt about receiving information through forms. I get data from forms through Request Symfony ( Symfony\Component\Ht...
asked by 25.01.2017 / 14:38
1
answer

findBy Doctrine

I would like to ask a question, I am using the command to make a filter: $FinContaspagar = $em->getRepository(FinContaspagar::class)->findBy(array('grupo' => '0')); However, I would like the condition inside the array to be group...
asked by 11.04.2017 / 22:27
2
answers

Leaking memory in PHP

Leaking memory leaky occurs when a computer program mismanages memory allocation in such a way that memory that is no longer needed is not released. I'd like to understand how memory leakyng can occur in PHP? How could I "debug" to fix me...
asked by 16.08.2017 / 13:52
1
answer

Display Datetime Content Using Doctrine

In a WebService project using SlimFramework, I decided to add Doctrine to do the queries in the DB. I resolved to follow DOCTRINE's guidance for working with Datetime and Time Zones on this site Doctrine Documentation When trying to recover...
asked by 21.09.2016 / 02:16