public static function parent()
    {
        if (!self::$activeTraitMethod) {
            throw new \BadMethodCallException("next:parent() call is only allowed in trait calls");
        }
        $arguments = func_get_args();

        return call_user_func(self::$activeTraitMethod, $arguments);
    }
public static function parent()
    {
        if (!self::$activeTraitMethod) {
            throw new \BadMethodCallException("next:parent() call is only allowed in trait calls");
        }
        $arguments = func_get_args();

        return call_user_func(self::$activeTraitMethod, $arguments);
    }
public static function parent ( ) { if ( ! self :: $ activeTraitMethod ) { throw new \ BadMethodCallException ( "next:parent() call is only allowed in trait calls" ) ; } $ arguments = func_get_args ( ) ; return call_user_func ( self :: $ activeTraitMethod , $ arguments ) ; }
Allows call to parent trait method if it got overwritten

@return mixed

@see \JSiefer\ClassMocker\Mock\BaseMock::__callTraitMethods()
Allows call to parent trait method if it got overwritten