承接 icehawk/session-forms-bridge 相关项目开发

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

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

icehawk/session-forms-bridge

最新稳定版本:v1.0.0

Composer 安装命令:

composer require icehawk/session-forms-bridge

包简介

A bridge implementation to combine the IceHawk components Session and Forms.

README 文档

README

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License phpstan enabled

IceHawk Framework

IceHawk\SessionFormsBridge

A bridge implementation to combine the IceHawk components Session and Forms.

This package provides one class named AbstractSession that extends the original AbstractSession class from the IceHawk Session component to combine it with the IceHawk Forms component.

This bridge package is intended to be used to

  • reduce the dependency definitions in the composer.json
  • Add relevant methods to retrieve or unset Form instances

Added methods

public function getForm( IdentifiesForm $formId ) : Form

This method returns a new or existing Form instance from the session wrapper an guaranties that you always get the same instance for the same $formId.

public function unsetForm( IdentifiesForm $formId )

This method removes an existing Form instance from the session data.

public function unsetAllForms()

This method removes all existing Form instances from the session data.

More documentation

Read more about the IceHawk components Session and Forms in our documentation at icehawk.github.io.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-11-20