This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imports: | |
# .... | |
- { resource: services/session.yml } | |
framework: | |
# .... | |
session: | |
handler_id: session.handler.memcached |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$carReference = $entityManager->getReference('MyBundle:Car',$carId); | |
$wheel->setCar($carReference); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace BlogBundle\Entity\Repository; | |
use Doctrine\ORM\EntityRepository; | |
class CachedDirectoryRepository extends EntityRepository | |
{ | |
const CACHE_TIME = 3600; // 60 * 60 | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<v-autocomplete | |
v-model="select" | |
:loading="loading" | |
:items="items" | |
:search-input.sync="search" | |
no-filter | |
hide-selected | |
clearable | |
return-object |