Skip to Content
Access Levels in Traits
oops code / August 12, 2018
trait abc {
private function xyz()
echo “XYZ method from trait abc”;
class test {
use abc{
abc::xyz as public abcXyz;
$obj=new test;
No comments yet, take the initiative.

Leave a Reply

Your email address will not be published.

PHPCODE © 2023