├── .gitignore ├── .scrutinizer.yml ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml.dist ├── src └── DQL │ ├── Datetime │ ├── .gitkeep │ ├── ConvertTZ.php │ ├── Date.php │ ├── DateDiff.php │ ├── DateFormat.php │ ├── Day.php │ ├── DayOfMonth.php │ ├── DayOfWeek.php │ ├── DayOfYear.php │ ├── FromUnixtime.php │ ├── Hour.php │ ├── Minute.php │ ├── Month.php │ ├── Quarter.php │ ├── Second.php │ ├── Time.php │ ├── Week.php │ └── Year.php │ ├── Numeric │ ├── .gitkeep │ └── Rand.php │ └── String │ ├── .gitkeep │ ├── ConcatWs.php │ ├── IfElse.php │ └── Md5.php └── tests ├── DQLFunctionTest.php ├── DateTest.php ├── Fixtures └── Entity │ └── Fake.php ├── Mocks ├── ConnectionMock.php ├── DatabasePlatformMock.php ├── DriverMock.php ├── EntityManagerMock.php └── QuotingStrategy.php ├── NumericTest.php ├── Proxies └── .gitkeep ├── StringTest.php └── bootstrap.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/.gitignore -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/.scrutinizer.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/DQL/Datetime/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/DQL/Datetime/ConvertTZ.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/ConvertTZ.php -------------------------------------------------------------------------------- /src/DQL/Datetime/Date.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/Date.php -------------------------------------------------------------------------------- /src/DQL/Datetime/DateDiff.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/DateDiff.php -------------------------------------------------------------------------------- /src/DQL/Datetime/DateFormat.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/DateFormat.php -------------------------------------------------------------------------------- /src/DQL/Datetime/Day.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/Day.php -------------------------------------------------------------------------------- /src/DQL/Datetime/DayOfMonth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/DayOfMonth.php -------------------------------------------------------------------------------- /src/DQL/Datetime/DayOfWeek.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/DayOfWeek.php -------------------------------------------------------------------------------- /src/DQL/Datetime/DayOfYear.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/DayOfYear.php -------------------------------------------------------------------------------- /src/DQL/Datetime/FromUnixtime.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/FromUnixtime.php -------------------------------------------------------------------------------- /src/DQL/Datetime/Hour.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/Hour.php -------------------------------------------------------------------------------- /src/DQL/Datetime/Minute.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/Minute.php -------------------------------------------------------------------------------- /src/DQL/Datetime/Month.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/Month.php -------------------------------------------------------------------------------- /src/DQL/Datetime/Quarter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/Quarter.php -------------------------------------------------------------------------------- /src/DQL/Datetime/Second.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/Second.php -------------------------------------------------------------------------------- /src/DQL/Datetime/Time.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/Time.php -------------------------------------------------------------------------------- /src/DQL/Datetime/Week.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/Week.php -------------------------------------------------------------------------------- /src/DQL/Datetime/Year.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Datetime/Year.php -------------------------------------------------------------------------------- /src/DQL/Numeric/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/DQL/Numeric/Rand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/Numeric/Rand.php -------------------------------------------------------------------------------- /src/DQL/String/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/DQL/String/ConcatWs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/String/ConcatWs.php -------------------------------------------------------------------------------- /src/DQL/String/IfElse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/String/IfElse.php -------------------------------------------------------------------------------- /src/DQL/String/Md5.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/src/DQL/String/Md5.php -------------------------------------------------------------------------------- /tests/DQLFunctionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/tests/DQLFunctionTest.php -------------------------------------------------------------------------------- /tests/DateTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/tests/DateTest.php -------------------------------------------------------------------------------- /tests/Fixtures/Entity/Fake.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/tests/Fixtures/Entity/Fake.php -------------------------------------------------------------------------------- /tests/Mocks/ConnectionMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/tests/Mocks/ConnectionMock.php -------------------------------------------------------------------------------- /tests/Mocks/DatabasePlatformMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/tests/Mocks/DatabasePlatformMock.php -------------------------------------------------------------------------------- /tests/Mocks/DriverMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/tests/Mocks/DriverMock.php -------------------------------------------------------------------------------- /tests/Mocks/EntityManagerMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/tests/Mocks/EntityManagerMock.php -------------------------------------------------------------------------------- /tests/Mocks/QuotingStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/tests/Mocks/QuotingStrategy.php -------------------------------------------------------------------------------- /tests/NumericTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/tests/NumericTest.php -------------------------------------------------------------------------------- /tests/Proxies/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/StringTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/tests/StringTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luxifer/doctrine-functions/HEAD/tests/bootstrap.php --------------------------------------------------------------------------------