Call to undefined method Cubex\Cubex::resolveMethod()