zonuexe/objectsystem 问题修复 & 功能扩展

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

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

zonuexe/objectsystem

最新稳定版本:0.7.0

Composer 安装命令:

composer require zonuexe/objectsystem

包简介

Object system for PHP

README 文档

README

Package version Build Status Packagist Scrutinizer Code Quality

Object system implementation for PHP

Document

Installation

Composer

cd /path/to/your/project
composer require zonuexe/objectsystem

Features

  • Property type check at run time
    • trait TypedProperty
    • trait TypeAssert
    • class TypeDefinision
  • Object container
    • class ObjectArray
    • interface ToArrayInterface
  • Trait for general class
    • trait ReadOnlyTrait: Restrict write to not accessable property.
    • trait PrivateGetter: Private property behaves like read only.
      • Very simple, but you may not be able to imagine the behavior of trait in the inherited class.
      • Behavior of undefined property depends on error_reporting() and set_error_handler().
    • trait PrivateStrictGetter: Private property behaves like read only.
      • Throws OutOfRangeException if propery is undefined.
    • trait MethodAlias: Make alias of method.
    • trait PropertyLikeMethod: Call method as property.

References

Copyright

see ./LICENSE.

Object system implementation for PHP
Copyright (c) 2016 [Baguette HQ](http://baguettephp.github.io/) / [USAMI Kenta](https://tadsan.github.io/) <tadsan@zonu.me>

Teto Kasane

I love Teto Kasane. (ja: Teto Kasane official site)

       r /
  __ , --ヽ!-- .、_
 !  `/::::;::::ヽ l
 !二二!::/}::::丿ハニ|
 !ニニ.|:/ ノ/ }::::}コ
 L二lイ  0´ 0 ,':ノコ
 lヽノ/ヘ、 '' ▽_ノイ ソ
  ソ´ /}`ス / ̄ ̄ ̄ ̄/
   .(_:;つ/  0401 / カタカタ
  ̄ ̄ ̄ ̄ ̄\/____/

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2014-12-07