Skip to content

expose class methods as static and object for strict standards #23

Description

@spacedevin
  • rename class methods to be prefixed with _
  • methods called will trigger __call or __callStatic
  • instantiate and attach $this->tipsy(Tipsy::app()) if static
  • reflect the functions appropriately

ref #22

Activity

  1. changed the title [-]expose class methods as static and object[/-] [+]expose class methods as static and object for strict standards[/+] on Oct 6, 2015
  2. spacedevin commented on Aug 7, 2026

    @spacedevin
    MemberAuthor

    Triaged for Tipsy 2.0 (#57)

    The underscore-prefixed method + __call / __callStatic design is the supported API (src/Model.php). Closing as fixed in 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuretriagedIssue reviewed against Tipsy 2.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions