frozensheep/synthesize 问题修复 & 功能扩展

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

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

frozensheep/synthesize

最新稳定版本:1.0

Composer 安装命令:

composer require frozensheep/synthesize

包简介

Synthesizer trait to auto generate getter and setter access for objects.

README 文档

README

Synthesizer trait to auto generate getter and setter access for objects.

Latest Stable Version Build Status Coverage Status MIT License PHP 5.4 PHP 5.5 PHP 5.6 PHP 7

Install

To install with Composer:

composer require frozensheep/synthesize

Usage

use Frozensheep\Synthesize\Synthesizer; class Transaction { use Synthesizer; protected $arrSynthesize = array( 'amount' => array('type' => 'float'), 'description' => array('type' => 'string', 'default' => 'Super cool product.') }; } $objTransaction = new Transaction(); $objTransaction->amount = 19.95; $objTransaction->description = '4x Large Bowls';

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04