You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CodeLapse\Database\Connection\* classes stops return false when detect database operation errors.
From now on, Connection classes throws CodeLapse\Database\DBException on detect database error (ex, PDO::query returns false, catch the Exception).
And when operation successful, some methods not return true.
Many of the methods were no longer return a value.
(if error, throws Exception, not then, It will quietly continue process.)
ArrayWrapper - for chainable array functions wrapper
Arr::wrap - Construct ArrayWrapper instace from array
-- Arr::wrapWithKey - Construct ArrayWrapper instace from array (Some methods give array's value and key to callback)
Changes
Validator::addRuleClass now regist rule name by camelCase
(Before changes, Validator::addRuleClass register rule name by PascalCase)
Now, regist validateXxxYyy is xxxYYY rule name.