2709 search results for Doctrine

Once again, you have made Symfony awesome for me, so let me shower some praise. ::shower:: I don't know if this is the right place for this question, but it is regarding Doctrine/MySQL and TimeZones. I was thinking ...
The QueryBuilder

... It's really powerful to understand that DQL is ultimately what's being used behind the scenes in Doctrine. But most of the time, we're not going to build this DQL string by hand. Nope, we're going to use something ...

2:02
Keep Going

Keep Going!¶ You’re awesome. Seriously. This was probably the most important episode yet, and you made it. Congrats! The first big piece included the two main Doctrine associations: ManyToOne and ManyToMany. We saw ...

1:19
where i can find the next mentioned tutorial about doctrine? ...
Answered here! https://knpuniversity.com/screencast/symfony-doctrine#comment-2832272638 ...
weaverryan
weaverryan
Read Full Comment
Hello victor , Doctrine Migrations also generate migrations for PostgreSQL. ...
abdouniabdelkarim
abdouniabdelkarim
Read Full Comment
... PhpStrom doesn't generating doctrine repository. How to fix this?
... Yep, that's why Doctrine doesn't allow to hydrate objects partially
MolloKhan
MolloKhan
Read Full Comment
288 lines | src/Entity/User.php
// ... lines 1 - 7
use App\Doctrine\UserSetIsMvpListener;
// ... lines 9 - 41
class User implements UserInterface
{
// ... lines 44 - 286
}
See Code Block in Script
# config/packages/test/doctrine.yaml
doctrine:
dbal:
url: '%env(resolve:DATABASE_TEST_URL)%'
See Code Block in Script
20 lines | config/packages/messenger.yaml
framework:
messenger:
// ... lines 3 - 5
transports:
// ... lines 7 - 12
failed: 'doctrine://default?queue_name=failed'
// ... lines 14 - 20
See Code Block in Script
146 lines | src/Entity/CheeseListing.php
// ... lines 1 - 6
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\BooleanFilter;
// ... lines 8 - 146
See Code Block in Script
16 lines | app/autoload.php
// ... lines 1 - 2
use Doctrine\Common\Annotations\AnnotationRegistry;
// ... lines 4 - 12
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
// ... lines 14 - 16
See Code Block in Script
52 lines | src/Repository/GenusRepository.php
// ... lines 1 - 5
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
// ... lines 7 - 10
class GenusRepository extends ServiceEntityRepository
{
// ... lines 13 - 50
}
See Code Block in Script
28 lines | app/config/config_test.yml
// ... lines 1 - 23
doctrine:
dbal:
url: 'sqlite:///%kernel.project_dir%/var/data/test.sqlite'
// ... lines 27 - 28
See Code Block in Script
26 lines | app/config/config_prod.yml
// ... lines 1 - 3
doctrine:
orm:
metadata_cache_driver: apcu
# result_cache_driver: apc
query_cache_driver: apcu
// ... lines 9 - 26
See Code Block in Script
26 lines | app/config/config_prod.yml
// ... lines 1 - 3
#doctrine:
# orm:
# metadata_cache_driver: apc
# result_cache_driver: apc
# query_cache_driver: apc
// ... lines 9 - 26
See Code Block in Script
27 lines | app/config/services.yml
// ... lines 1 - 5
services:
// ... lines 7 - 21
app.doctrine.hash_password_listener:
class: AppBundle\Doctrine\HashPasswordListener
autowire: true
// ... lines 25 - 27
See Code Block in Script
78 lines | src/AppBundle/Entity/GenusScientist.php
// ... lines 1 - 5
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
// ... lines 7 - 8
/**
// ... lines 10 - 11
* @UniqueEntity(
// ... lines 13 - 14
* )
*/
class GenusScientist
{
// ... lines 19 - 77
}
See Code Block in Script
51 lines | src/Repository/ArticleRepository.php
// ... lines 1 - 5
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
// ... lines 7 - 14
class ArticleRepository extends ServiceEntityRepository
{
// ... lines 17 - 49
}
See Code Block in Script