REDROOM
PHP 7.4.33
Path:
Logout
Edit File
Size: 1.57 KB
Close
/home/godevadmin/www/admin/braintree/final/braintree/lib/Braintree/Error/Validation.php
Text
Base64
<?php namespace Braintree\Error; use Braintree\Util; /** * error object returned as part of a validation error collection * provides read-only access to $attribute, $code, and $message * * <b>== More information ==</b> * * For more detailed information on Validation errors, see {@link http://www.braintreepayments.com/gateway/validation-errors http://www.braintreepaymentsolutions.com/gateway/validation-errors} * * @package Braintree * @subpackage Error * * @property-read string $attribute * @property-read string $code * @property-read string $message */ class Validation { private $_attribute; private $_code; private $_message; /** * @ignore * @param array $attributes */ public function __construct($attributes) { $this->_initializeFromArray($attributes); } /** * initializes instance properties from the keys/values of an array * @ignore * @access protected * @param array $attributes array of properties to set - single level * @return void */ private function _initializeFromArray($attributes) { foreach($attributes AS $name => $value) { $varName = "_$name"; $this->$varName = Util::delimiterToCamelCase($value, '_'); } } /** * * @ignore */ public function __get($name) { $varName = "_$name"; return isset($this->$varName) ? $this->$varName : null; } } class_alias('Braintree\Error\Validation', 'Braintree_Error_Validation');
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Codes.php
43.29 KB
lrwxrwxr-x
2023-11-07 19:59:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ErrorCollection.php
2.98 KB
lrwxrwxr-x
2023-11-07 19:59:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Validation.php
1.57 KB
lrwxrwxr-x
2023-11-07 19:59:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ValidationErrorCollection.php
3.33 KB
lrwxrwxr-x
2023-11-07 19:59:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).