import Entity from "./Entity" ; import Repository from "./Repository" ; export default class RepositoryMemory implements Repository { save ( entity ) { console . log ( "memory save entity" ) ; } get ( id ) { console . log ( "memory get entity" ) ; } update ( entity ) { console . log ( "memory update entity" ) ; } delete ( id ) { console . log ( "memory delete entity" ) ; } count ( ) { console . log ( "memory count entities" ) ; return 10 ; } }