Nestable\NestableTrait::__call PHP Method

__call() public method

if called method not exists in NestableService pass to parent __call method.
public __call ( array $method, array $args ) : mixed
$method array
$args array
return mixed
    public function __call($method, $args)
    {
        if (method_exists(NestableService::class, $method)) {
            $args = count($args) > 1 ? $args : current($args);
            static::saveParameter($method, $args);
            return $this;
        }
        $parentResult = parent::__call($method, $args);
        if ($parentResult instanceof Builder) {
            static::$_instance = $parentResult;
            return $this;
        }
        return $parentResult;
    }