PHP Classes

File: aksara/Language/en-PIR/Cast.php

Recommend this page to a friend!
  Packages of Aby Dahana   Aksara   aksara/Language/en-PIR/Cast.php   Download  
File: aksara/Language/en-PIR/Cast.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change:
Date: 1 month ago
Size: 1,634 bytes
 

Contents

Class file image Download
<?php

/**
 * This file is part of Aksara CMS, both framework and publishing
 * platform.
 *
 * @author Aby Dahana <abydahana@gmail.com>
 * @copyright (c) Aksara Laboratory <https://aksaracms.com>
 * @license MIT License
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the LICENSE.txt file.
 *
 * When the signs come, those who don't believe at "that time"
 * will have only two choices, commit suicide or become brutal.
 */

return [
   
'baseCastMissing' => 'The "{0}" class must inherit the "CodeIgniter\Entity\Cast\BaseCast" class, matey.',
   
'enumInvalidCaseName' => 'Not valid case name "{0}" for enum "{1}".',
   
'enumInvalidType' => 'Expected enum of type "{1}", but received "{0}", shiver me timbers.',
   
'enumInvalidValue' => 'Not valid value "{1}" for enum "{0}".',
   
'enumMissingClass' => 'Enum class must be specified for enum casting, ye scurvy dog.',
   
'enumNotEnum' => 'The "{0}" be not a valid enum class.',
   
'invalidCastMethod' => 'The "{0}" be a not valid cast method, valid methods be: ["get", "set"].',
   
'invalidTimestamp' => 'Type casting "timestamp" expects a correct timestamp, arrr.',
   
'jsonErrorCtrlChar' => 'Unexpected control character found in the hold.',
   
'jsonErrorDepth' => 'Maximum stack depth exceeded, she\'s sinkin\'.',
   
'jsonErrorStateMismatch' => 'Underflow or the modes mismatch, blast it.',
   
'jsonErrorSyntax' => 'Syntax blunder, malformed JSON.',
   
'jsonErrorUnknown' => 'Unknown blunder in the rigging.',
   
'jsonErrorUtf8' => 'Malformed UTF-8 characters, possibly incorrectly encoded by Davy Jones.',
];