MCPcopy Create free account
hub / github.com/Alex-developer/agsattrack / to_array

Method to_array

php/framework/libs/o/lib/Validations.php:819–840  ·  view source on GitHub ↗

* Returns all the error messages as an array, including error key. * * * $model->errors->errors(); * * # array( * # "name" => array("Name can't be blank"), * # "state" => array("State is the wrong length (should be 2 chars)") * # ) * * * @param array $closure Closure to fetch the errors in some other format (optional) * This closure ha

($closure=null)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

full_messagesMethod · 0.95

Calls 1

human_attributeMethod · 0.45

Tested by

no test coverage detected