Skip to content

Model method ordering #3

@ibnnajjaar

Description

@ibnnajjaar

Currently the relationships are at the bottom of the class. Preferred way of ordering Model properties and methods.

  • properties,
  • boot method
  • relationships
  • scopes
  • mutators (setters first and then getters, when separate)
  • other methods

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions