I have a MyTranslatable trait, which uses another OtherTranslatable trait, the one from a third party package. I'm including them as follows.
trait MyTranslatable
{
use OtherTranslatable {
OtherTranslatable::method as public otherTranslatableMethod;
}
public function index()
{
// Perform my actions
// Call otherTranslatableMethod
static::otherTranslatableMethod();
}
I'm wondering if this is valid, the code is working but I'm not so sure if traits are meant to be used this way, and if this is the correct way to call the "parent trait's" method like this after my actions are complete