Skip to content

PHP Class Method Autocompletion with self:: and $this-> #1

@kassah

Description

@kassah

It would be nice to be able to complete while editing a class calling methods within itself or a parent.

<?php
class moo {
    function zoo() {
        return 'moo';
    }
}

class blah extends moo {
    function goo($bee, $zee) {
        // do something
        return $bee;
    }

    static function slide() {
         return true;
    }

    function boo() {
        $this->
        self::
        parent::
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions