alameda-red/doctrine-extensions-bundle 问题修复 & 功能扩展

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

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

alameda-red/doctrine-extensions-bundle

最新稳定版本:0.0.2

Composer 安装命令:

composer require alameda-red/doctrine-extensions-bundle

包简介

Alameda Doctrine Extension bundle

README 文档

README

This bundle provides a couple of mathematical DQL functions to use in Doctrine. Furthermore it provides a couple of DBAL types.

Installation

You can either modify your composer.json with

{
    "require" : {
        "alameda-red/doctrine-extensions-bundle" : "0.*"
    }
}

or run:

    $ composer require "alameda-red/doctrine-extensions-bundle=0.*"

Available DQL functions

  • acos
  • acosh
  • asin
  • asinh
  • atan
  • atan2
  • atanh
  • cos
  • cosh
  • degrees
  • powe
  • radians
  • sin
  • sinh
  • tan
  • tanh

There is also the alameda_geo_distance DQL function but due to limitations in the Doctrine DQL parser it does not work at this point.

Available DQL types

dateinterval

This type will store \DateInterval objects as string representations ('PT1H', 'P1D', ...).

timestamp

This type will handle UNIX timestamps.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-07