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
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-07