Announcement

Collapse
No announcement yet.

field naming PSR

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • field naming PSR

    Hello,

    when we create a field .. we create so : myNumber
    in the database, the column is : my_number

    which is the function I can use for this :

    sample :
    I have a string : "my_number"
    my field name is : myNumber

    Then I will use out-of-box function for ORM.
    $entity->get('myNumber');

    $entity->get(outOfBoxFunction('my_number'));

    Best regards
Working...
X