承接 gember/file-reflector-roave 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

gember/file-reflector-roave

最新稳定版本:0.5.0

Composer 安装命令:

composer require gember/file-reflector-roave

包简介

Gember Event Sourcing File Reflector adapter based on roave/better-reflection

README 文档

README

Build Status Coverage Status Quality Score Software License PHP Version

Gember Event Sourcing File Reflector adapter based on roave/better-reflection.

All external dependencies in Gember Event Sourcing are organized into separate packages, making it easy to swap out a vendor adapter for another.

Installation

Install with Composer:

composer require gember/file-reflector-roave

Configuration

Bind this adapter to the Reflector interface in your service definitions.

Examples

Vanilla PHP

use Gember\FileReflectorRoave\RoaveBetterReflectionFactory;
use Gember\FileReflectorRoave\RoaveBetterReflectionReflector;

$reflector = new RoaveBetterReflectionReflector(
    new RoaveBetterReflectionFactory(), 
);

Symfony

It is recommended to use the Symfony bundle to configure Gember Event Sourcing. With this bundle, the adapter is automatically set as the default for File Reflector.

If you're not using the bundle, you can bind it directly to the Reflector interface.

Gember\FileReflectorRoave\RoaveBetterReflectionFactory: ~

Gember\EventSourcing\Util\File\Reflector\Reflector:
  class: Gember\FileReflectorRoave\RoaveBetterReflectionReflector
  arguments:
    - '@Gember\FileReflectorRoave\RoaveBetterReflectionFactory'

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-07