ConFoo Montreal 2026: Call for Papers

Voting

: min(eight, five)?
(Example: nine)

The Note You're Voting On

dhairya dot coder at gmail dot com
9 years ago
trait A {
public function smallTalk() {
echo 'a';
}
public function bigTalk() {
echo 'A';
}
}

class Apple{

use A {
A::bigTalk as talk;
}
}

$obj=new ReflectionClass('Apple');
echo "<pre>";
var_dump($obj->getTraitAliases());
echo "</pre>";

<< Back to user notes page

To Top