Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
File: .changelog/CHANGELOG-0.1.0.md
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
Packages of Axel Pardemann
PHP Scalar Objects
.changelog/CHANGELOG-0.1.0.md
Download
File:
.changelog/
CHANGELOG-0.1.0.md
Role:
Auxiliary data
Content type:
text/markdown
Description:
Auxiliary data
Class:
PHP Scalar Objects
Implement objects that behave like scalar values
Author:
By
Axel Pardemann
Last change:
Date:
9 months ago
Size:
1,983 bytes
Contents
Download
Release 0.1.0
First release.
Added :sparkles:
Added the `BoolType` scalar object type with the following methods: - `and()` - `equals()` - `isFalse()` - `isTrue()` - `not()` - `or()` - `xor()`
Added the `NumberType` scalar object type with the following methods: - `abs()` - `compare()` - `greaterThan()` - `greaterThanOrEqual()` - `isFloat()` - `isInt()` - `isZero()` - `lessThan()` - `lessThanOrEqual()` - `pad()` - `padLeft()` - `padRight()` - `toFloat()` - `toInt()`
Added the `FloatType` scalar object type (sub-type of`NumberType`).
Added the `IntType` scalar object type (sub-type of`NumberType`).
Added the `StringType` scalar object type with the following methods: - `accord()` - `after()` - `ascii()` - `before()` - `camel()` - `concat()` - `contains()` - `endsWith()` - `equals()` - `explode()` - `finish()` - `isDomain()` - `isEmail()` - `isEmpty()` - `isHostname()` - `isIp()` - `isMac()` - `isUrl()` - `kebab()` - `left()` - `length()` - `limit()` - `lowerCaseFirst()` - `lower()` - `pad()` - `padLeft()` - `padRight()` - `prefix()` - `random()` - `remove()` - `repeat()` - `replace()` - `replaceArray()` - `replaceFirst()` - `replaceLast()` - `right()` - `slug()` - `snake()` - `start()` - `startsWith()` - `studly()` - `substr()` - `suffix()` - `surround()` - `title()` - `toggle()` - `trim()` - `trimLeft()` - `trimRight()` - `upperCaseFirst()` - `upper()` - `words()`
Added functions as a convenience method for creating scalar objects: - `bool()` - `float()` - `int()` - `number()` - `string()`
Added facades for all scalar types for using the functions as if it were `static`.
Previous:
Release 0.0.0
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2026
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger