Download????? TObject
*? ?????? ????? ??? ???? ??? ??????? ??? Ascoos OS, ?????????? ???????? ???????? ??? ??????????????.*
> #### ???????? TCoreHandler, Stringable
?????
use ASCOOS\OS\Kernel\Core\TObject;
class TNameClass extends TObject {
// ????????????? ?????????
}
????? ?? ???????????? ??????.
?????????? ??????????
??? ??????? ???????????? (???????????, ??????, ????????????), ???????????? ?? ??????? Documentation Site (??? ?????????).
?????????
| ???????? | ????? | ????????? |
|----------|-------|-----------|
| properties | Array | ???????? ??????? ??? ?????????? ??? ????????? ??? ?????? ????????. |
??????? ??? properties
| ?????? | ????? | ????????? |
|--------|-------|-----------|
| deprecated | Boolean | ??????????? ?? ? ????? ????? ?????????? (??????????: false). |
| deprecatedAtAscoosVersion | Integer | ?????? ????????? (-1 ?? ???). |
| removedAtVersion | Integer | ?????? ????????? (-1 ?? ???). |
| version | Integer | ?????? ?????? (?.?. 2400070000). |
| MinAscoosVersion | Integer | ???????? ?????? Ascoos (?.?. 2400070000). |
| MaxAscoosVersion | Integer | ??????? ?????? Ascoos (-1 ?? ???????????). |
| MinPHPVersion | Integer | ???????? ?????? PHP (?.?. 80200 ??? 8.2.0). |
| MaxPHPVersion | Integer | ??????? ?????? PHP (-1 ?? ???????????). |
| ProjectVersion | Integer | ?????? ????????? (-1 ?? ?? ???????????). |
????????
| ??????? | ???? | ????????? |
|---------|------|-----------|
| DEBUG_LEVEL_INFO | INFO | ??????? ?????????????? ??? ???????????. |
| DEBUG_LEVEL_WARNING | WARNING | ??????? ?????????????? ??? ???????????????. |
| DEBUG_LEVEL_ERROR | ERROR | ??????? ?????????????? ??? ????????. |
???????
| ??????? | ????????? | ????????? |
|-----------------------|-----------|--------------------------------------------------------------------------|
| __construct | void | ????????????? ??? ?????. ?????? ?? ???????? ??? ??? ??????? ??? ?? ??????? ????? ?????????????. |
| batchUpdateProperties | bool | ?????????? ?????? ????????? ?? ??? ???????, ?? ??????????? ????????? ??????????? ???? ??? ??? ?????????. |
| cacheProperties | bool | ?????????? ??? ????????? ??? ???????????? ?? ??????????? ?????????? (?????? ? ?????) ??? ??????? ????????. |
| cloneObject | object | ?????????? ??? ???? ????? ??? ????????????, ??????????? ???? ??? ?????????. |
| cloneProperties | array | ?????????? ??? ????????? ??? ????????? ??? ????????????, ?????????? ?? ????????????? ????????????. |
| compareProperties | array | ????????? ??? ????????? ????????? ?? ??? ??????????? ? ?????????? ??????, ????????????? ??? ????????. |
| executeBatchOperations | bool | ??????? ??? ??????? ??????????? (???????? ? callable) ?? ??????????? ????????? ?? ????????? ?????????. |
| exportToJson | string | ?????? ?? ??????????? ?? ??? ???????????? JSON, ?????????????????? ????????? ??? ??????????? ????????????. |
| freezeObject | bool | ??????? ????????? ?? ???????????, ???????????? ????????????? ???? ????????? ??? ????? ?? ?????????. |
| getChildren | array | ?????????? ??? ?????????? ??? ????????? ?????? ? ????????????. |
| getClassDeprecated | bool | ?????????? true ?? ? ????? ????? ??????????, ??????????? false. |
| getClassMetadata | array | ?????????? ???????????? ??? ?? ??????????? ??? ?????????????, ??????????? ? ??????????? ?????????. |
| getClassVersion | int | ?????????? ??? ?????? ??? ??????. |
| getDeepProperty | mixed | ???????? ??? ???????? ?? ??????????? ????? ???? ???? ?????? ?????????. |
| getDescendantsTree | array | ?????????? ???? ?????? ??????? ???? ??? ???????? ??? ????????? ?????? ? ????????????. |
| getParents | array or false | ?????????? ??? ??????? ??????? ??? ????????? ?????? ? ????????????. |
| getProperties | array | ?????????? ??? ?????? ????????? ??? ??????, ?????????? ?? ????????????? ????????????. |
| getProperty | mixed | ?????????? ?? ??????????? ??? ?????????? ?????????, ?????????????? ???????????? ?????????. |
| getPropertyMetadata | ?array | ???????? ???????????? ??? ??? ???????????? ????????, ?????????????????? ????, ???? ??? ???????? ??????? ?? ???????????????. |
| getPropertySnapshot | array or false | ?????????? ??? ??????????? ??? ????????? ????????? ??? ?????????? ???????? ? ?????????. |
| getPublicProperties | ?array | ?????????? ???? ?????? ?? ??? ???????? ????????? ??? ??????. |
| getVersion | int or false | ???????? ??? ?????? ?? ??????? ??????. |
| getVersionStr | string or false | ???????? ??? ?????? ?? ????????????? ????????????. |
| hasMethod | bool | ??????? ?? ??????? ??? ??????? ???? ????? ? ???? ?????? ???. |
| hasProperty | bool | ??????? ?? ??????? ??? ???????? ???? ????? ? ??? ?????? ????????? ???. |
| hasRequiredProperties | bool | ??????? ?? ???? ?? ???????????? ????????? ???????? ??? ??????????? ?????????? ??? ??? ????? ?????. |
| invokeMethod | mixed | ????? ???????? ??? ?????? ???? ????? ?? ?? ???????? ????????. |
| isCallableMethod | bool | ??????? ?? ??? ??????? ????? ?????????? ??? ???????????. |
| isExecutable | bool | ??????? ?? ? ???????? ?????? ??? ?????? ????? ?????????? ??????? ?? ??? ????????? ??? ???????? ???????? ??? ????????????. |
| isFreezed | bool | ??????? ?? ?? ????????? ??? ?????? ????? ?????????. |
| isLocked | bool | ??????? ?? ?? ????????? ??? ?????? ????? ???????????. |
| isPropertyModified | bool | ??????? ?? ??? ???????????? ???????? ???? ???????????? ?? ???? ?? ???????? ???????. |
| lockProperties | bool | ????????? ??? ????????? ??? ???????????? ??? ?? ????????? ????????? ?????????????. |
| mergeProperties | bool | ????????? ???? ????????? ?????? ????????? ?? ??? ????????? ?????? ?????????, ?????????????? ???????????? ??????????? ???????????. |
| propertyValidation | bool | ?????????? ?? ? ???????? ????? ???????????? ? ???????? ???????. |
| resetProperties | bool | ?????????? ??? ????????? ??? ???????????? ???? ?????? ???? ????????? ? ?? ???? ?????????? ??????. |
| restoreFromCache | bool | ?????????? ??? ????????? ??? ???????????? ??? ??? ????? ????? (?????? ? ?????). |
| serializeToArray | array | ?????????? ?? ??????????? ?? ??????, ?????????????????? ????????? ??? ????????????. |
| setDeepProperty | void | ?????? ??? ???????? ?? ??????????? ????? ???? ???? ?????? ?????????. |
| setProjectVersion | void | ?????? ??? ?????? ??? ?????. |
| setProperties | bool | ?????? ?????????? ??? ????????? ??? ??????, ???????????? ???-??????? ????? ?? ??????????? ???? ????????. |
| setProperty | bool | ?????? ??? ?????????? ???????? ??? ??????, ??????? ??? ??????????? ??? ????????? ???????????. |
| setPropertySnapshot | bool | ?????????? ??? ??????????? ??? ????????? ????????? ??? ?????????? ???????? ? ?????????. |
| trackPropertyChanges | bool | ???????????? ??? ??????? ???? ????????? ??? ????????????, ????????????? ??? ???????? ?????????????. |
| unfreezeObject | bool | ????????? ?? ???????????, ???????????? ????????????? ???? ????????? ???. |
| unlockProperties | bool | ??????????? ??? ????????? ??? ???????????? ??? ?? ????????? ????????? ?????????????. |
| validatePropertyConstraints | bool | ?????????? ??? ????????? ??? ???????????? ?????? ???????????? ??????????? (?.?., ?????, ?????). |
| __toString | string | ?????????? ??? ???????????? ??? ???????? ?? ????? ????? ??? ??????. |
| Free | bool | ????????????? ?? ????? ??? ???????????? ? ??? ?????? ???. |
| FreeProperties | bool | ????????? ??? ????????????? ?? ????? ??? ???? ??? ????????? ??? ??????. |
<details>
<summary>? ???????????</summary>
?????????? ?? ?????? __toString ??? ??? TCoreHandler, ? ????? ?????????????? ??? ?? ?????????? ?? ????? ??? ??????.
???????? ?? TCoreHandler ??? Stringable ??? ??????? ??????????? ??? ????????? ?? ????????????.
</details>
?????????
|