DEVSENSE / phptools-docs

PHP Tools public content
Apache License 2.0
83 stars 10 forks source link

The private methods and properties of a trait in `/vendor/` do not cached #719

Closed ging-dev closed 2 weeks ago

ging-dev commented 2 weeks ago
<?php
class A {
    use BTrait; // BTrait on somewhere in /vendor/

    public function test() {
        $this->privateMethod(); // Call to unknown method, privateMethod() from BTrait.
    }
}

Maybe issue with private constant, i guess

jakubmisek commented 2 weeks ago

thanks! too much optimization) fixed