|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| getFieldNameForMethodName ($methodName) | |
Data Fields | |
| const | IS_METHOD_PREFIX = 'is' |
| const | HAS_METHOD_PREFIX = 'has' |
| const | GETTER_PREFIX = 'get' |
Determines the name to use for fields in a data output array given method metadata.
Definition at line 14 of file FieldNamer.php.
| getFieldNameForMethodName | ( | $methodName | ) |
Converts a method's name into a data field name.
| string | $methodName |
Definition at line 26 of file FieldNamer.php.
| const GETTER_PREFIX = 'get' |
Definition at line 18 of file FieldNamer.php.
| const HAS_METHOD_PREFIX = 'has' |
Definition at line 17 of file FieldNamer.php.
| const IS_METHOD_PREFIX = 'is' |
Definition at line 16 of file FieldNamer.php.