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
'use strict'; | |
import Marionette from 'marionette'; | |
import viewTpl from './boxItemView.hbs!'; | |
import TrashListView from './trashListView.js'; | |
export default Marionette.LayoutView.extend({ | |
template: viewTpl, | |
tagName: 'li', | |
regions: { |
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 App\Library\Mixin; | |
trait QueryUnitOfWorkMixin | |
{ | |
public function queryUow($className, array $properties) | |
{ | |
foreach($this->getEntityManager()->getUnitOfWork()->getScheduledEntityInsertions() as $entity){ | |
if(is_a($entity, $className)){ |
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
import { createListenerMiddleware } from "@reduxjs/toolkit"; | |
import { authApi } from './authApi'; | |
import { api } from './baseApi'; | |
import type { RootState } from "../store"; | |
export const authListenerMiddleware = createListenerMiddleware(); | |
authListenerMiddleware.startListening({ | |
matcher: authApi.endpoints.login.matchFulfilled, | |
effect: (action, listenerApi) => { | |
localStorage.setItem( |
OlderNewer