webfactory/content-mapping-sourceadapter-propel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webfactory/content-mapping-sourceadapter-propel

最新稳定版本:1.2.4

Composer 安装命令:

composer require webfactory/content-mapping-sourceadapter-propel

包简介

SourceAdapter for Propel Databases inside the webfactory/content-mapping mini framework.

README 文档

README

SourceAdapter for Propel Databases in the webfactory/content-mapping mini framework.

Installation

Assuming you already have a working Propel installation, simply

composer require webfactory/content-mapping-sourceadapter-propel

Usage

use Webfactory\ContentMapping\Synchronizer;
use Webfactory\ContentMapping\SourceAdapter\Propel\GenericPropelSourceAdapter;

$classNameToSynchronize = 'MyClass';
$resultSetMethod = 'doSelectRS';
$logger = ...; // optional: any PSR-3 logger

$sourceAdapter = new GenericPropelSourceAdapter($classNameToSynchronize, $resultSetMethod, $logger);

$synchronizer = new Synchronizer($sourceAdapter, $mapper, $destinationAdapter, $logger);

If the GenericPropelSourceAdapter does not fit your needs, you may find the abstract PropelSourceAdapter helpful.

Credits, Copyright and License

This project was started at webfactory GmbH, Bonn.

Copyright 2015 webfactory GmbH, Bonn. Code released under the MIT license.

统计信息

  • 总下载量: 3.45k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 8
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-06